Previous 15994 Revisions Next

r3094 Saturday 23rd August, 2008 at 18:59:17 UTC by Nathan Woods
1. Reenabled C65 test

2. Commented file manager code; changed error message time
[src/mess]filemngr.c
[src/mess/tests]mess_c65.xml

src/mess/tests/mess_c65.xml
r3093r3094
11<tests>
22
3<!-- NPW 18-Oct-2006 - Temporarily disabling; broken in 0.109u1 -->
4<test name="c65_000" driver="c65" enabled="0">
3<test name="c65_000" driver="c65">
54   <wait time="5"/>
65   <checkblank/>
76</test>
src/mess/filemngr.c
r3093r3094
2626    CONSTANTS
2727***************************************************************************/
2828
29/* conditional compilation to enable chosing of image formats - this is not
30 * yet fully implemented */
2931#define ENABLE_FORMATS         0
3032
33/* time (in seconds) to display errors */
34#define ERROR_MESSAGE_TIME      5
35
36/* itemrefs for key menu items */
3137#define ITEMREF_NEW_IMAGE_NAME   ((void *) 0x0001)
3238#define ITEMREF_CREATE         ((void *) 0x0002)
3339#define ITEMREF_FORMAT         ((void *) 0x0003)
r3093r3094
308314
309315      case ENTTYPE_FILE:
310316         /* TODO - we should be raising a warning here, not an error */
311         popmessage("Cannot save over file");
317         ui_popup_time(ERROR_MESSAGE_TIME, "Cannot save over file");
312318         do_create = FALSE;
313319         break;
314320
315321      case ENTTYPE_DIR:
316         popmessage("Cannot save over directory");
322         ui_popup_time(ERROR_MESSAGE_TIME, "Cannot save over directory");
317323         do_create = FALSE;
318324         break;
319325

Previous 15994 Revisions Next


© 1998-2018 The MESS Team