~ubuntu-branches/ubuntu/maverick/vice/maverick

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Zed Pobre
  • Date: 2005-02-01 11:30:26 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050201113026-3eyakzsmmheclvjg
Tags: 1.16-1
* New upstream version
* Fixes crash on 64-bit architectures (closes: #287640)
* x128 working again (closes: #286767)
* Works fine with /dev/dsp in use (not in the main changelog, but tested
  on my local machine as working).  Presumably, this also takes care of
  the issue with dsp being held.  I'm not sure if this is because I'm
  testing it on a 2.6 kernel now -- if you are still having problems
  with /dev/dsp, please reopen the bugs. (closes: #152952, #207942)
* Don't kill Makefile.in on clean

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
#include <windows.h>
30
30
#include <prsht.h>
31
31
 
32
 
#ifdef HAVE_SHLOBJ_H
33
 
#include <shlobj.h>
34
 
#endif
35
 
 
36
32
#ifndef DUMMYUNIONNAME
37
33
#define DUMMYUNIONNAME  u1
38
34
#endif
41
37
#include "res.h"
42
38
#include "resources.h"
43
39
#include "system.h"
44
 
#include "ui.h"
45
40
#include "uilib.h"
46
41
#include "uipetset.h"
47
42
#include "winmain.h"
48
43
 
 
44
 
49
45
static void enable_controls_for_pet_settings(HWND hwnd, int type)
50
46
{
51
47
}
284
280
    psp[2].pszTemplate = MAKEINTRESOURCE(IDD_PET_SETTINGS_SUPER_DIALOG);
285
281
    psp[3].pszTemplate = MAKEINTRESOURCE(IDD_PET_SETTINGS_8296_DIALOG);
286
282
#else
287
 
    psp[0].DUMMYUNIONNAME.pszTemplate = MAKEINTRESOURCE(IDD_PET_SETTINGS_MODEL_DIALOG);
288
 
    psp[1].DUMMYUNIONNAME.pszTemplate = MAKEINTRESOURCE(IDD_PET_SETTINGS_IO_DIALOG);
289
 
    psp[2].DUMMYUNIONNAME.pszTemplate = MAKEINTRESOURCE(IDD_PET_SETTINGS_SUPER_DIALOG);
290
 
    psp[3].DUMMYUNIONNAME.pszTemplate = MAKEINTRESOURCE(IDD_PET_SETTINGS_8296_DIALOG);
 
283
    psp[0].DUMMYUNIONNAME.pszTemplate
 
284
        = MAKEINTRESOURCE(IDD_PET_SETTINGS_MODEL_DIALOG);
 
285
    psp[1].DUMMYUNIONNAME.pszTemplate
 
286
        = MAKEINTRESOURCE(IDD_PET_SETTINGS_IO_DIALOG);
 
287
    psp[2].DUMMYUNIONNAME.pszTemplate
 
288
        = MAKEINTRESOURCE(IDD_PET_SETTINGS_SUPER_DIALOG);
 
289
    psp[3].DUMMYUNIONNAME.pszTemplate
 
290
        = MAKEINTRESOURCE(IDD_PET_SETTINGS_8296_DIALOG);
291
291
#endif
292
292
 
293
293
    psh.dwSize = sizeof(PROPSHEETHEADER);
310
310
    system_psh_settings(&psh);
311
311
    PropertySheet(&psh);
312
312
}
 
313