~ubuntu-branches/ubuntu/quantal/vice/quantal

« back to all changes in this revision

Viewing changes to src/arch/win32/uispeed.c

  • Committer: Bazaar Package Importer
  • Author(s): Zed Pobre
  • Date: 2006-07-30 19:15:59 UTC
  • mto: (9.1.1 lenny) (1.1.6 upstream)
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: james.westby@ubuntu.com-20060730191559-g31ymd2mk102kzff
Tags: upstream-1.19
ImportĀ upstreamĀ versionĀ 1.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
#include "res.h"
35
35
#include "resources.h"
36
36
#include "system.h"
 
37
#include "translate.h"
37
38
#include "ui.h"
38
39
#include "uilib.h"
39
40
#include "uispeed.h"
99
100
void ui_speed_settings_dialog(HWND hwnd)
100
101
{
101
102
/*
102
 
    DialogBox(winmain_instance, (LPCTSTR)IDD_CUSTOM_SPEED_DIALOG, hwnd,
 
103
    DialogBox(winmain_instance, (LPCTSTR)translate_res(IDD_CUSTOM_SPEED_DIALOG), hwnd,
103
104
              dialog_proc);
104
105
*/
105
106
    uilib_dialogbox_param_t param;
108
109
    resources_get_value("Speed", (void *)&speed);
109
110
 
110
111
    param.hwnd = hwnd;
111
 
    param.idd_dialog = IDD_CUSTOM_SPEED_DIALOG;
 
112
    param.idd_dialog = translate_res(IDD_CUSTOM_SPEED_DIALOG);
112
113
    param.idc_dialog = IDC_CUSTOM_SPEED;
113
114
    _itot(speed, param.string, 10);
114
115