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

« back to all changes in this revision

Viewing changes to src/arch/unix/x11/xaw/uiedisk.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:
106
106
    ui_popdown(emptydisk_dialog);
107
107
}
108
108
 
109
 
static char *extensions[] = { "d64", "d67", "d71", "d81", "d80", "d82", "g64" };
 
109
#define NR_FORMATS 7
 
110
 
 
111
static char *extensions[NR_FORMATS] = {
 
112
    "d64", "d67", "d71", "d81", "d80", "d82", "g64" };
110
113
 
111
114
static UI_CALLBACK(save_callback)
112
115
{
157
160
        }
158
161
    }
159
162
  
160
 
    if (type_cnt < 0 || type_cnt > 5)
 
163
    if (type_cnt < 0 || type_cnt >= NR_FORMATS)
161
164
        return;
162
165
 
163
166
    XtVaGetValues(file_name_field, XtNstring, &name, NULL);