Changeset 347 for trunk/dll/defview.c
- Timestamp:
- Jul 26, 2006, 7:43:28 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/defview.c
r92 r347 5 5 6 6 Copyright (c) 1993-98 M. Kimes 7 Copyright (c) 2003 Steven H.Levine 8 9 Archive containers 10 11 Revisions 20 Nov 03 SHL - ShowMultimedia: try to convince fmplay to not play exes (Gregg Young) 7 Copyright (c) 2003, 2006 Steven H.Levine 8 9 Default file viewer 10 11 20 Nov 03 SHL ShowMultimedia: try to convince fmplay to not play exes (Gregg Young) 12 14 Jul 06 SHL Use Runtime_Error 12 13 13 14 ***********************************************************************/ … … 17 18 #define INCL_GPI 18 19 #define INCL_MMIOOS2 19 20 20 #include <os2.h> 21 21 #include <os2me.h> 22 22 23 #include <stdio.h> 23 24 #include <stdlib.h> 24 25 #include <string.h> 25 26 #include <ctype.h> 27 26 28 #include "fm3dll.h" 27 29 #include "fm3dlg.h" 30 31 static PSZ pszSrcFile = __FILE__; 28 32 29 33 #pragma alloc_text(DEFVIEW,DefaultView,ShowMultimedia,DefaultViewKeys) … … 113 117 114 118 VOID DefaultViewKeys (HWND hwnd,HWND hwndFrame,HWND hwndParent, 115 SWP *swp,CHAR *filename) {116 119 SWP *swp,CHAR *filename) 120 { 117 121 if((shiftstate & (KC_CTRL | KC_SHIFT)) == 118 122 (KC_CTRL | KC_SHIFT)) … … 148 152 149 153 VOID DefaultView (HWND hwnd,HWND hwndFrame,HWND hwndParent,SWP *swp, 150 ULONG flags,CHAR *filename) {151 154 ULONG flags,CHAR *filename) 155 { 152 156 /* 153 157 * bitmapped flags: … … 170 174 flags &= (~16); 171 175 if(!IsFile(filename)) { 172 DosBeep(50,100);176 Runtime_Error(pszSrcFile, __LINE__, "%s not found", filename); 173 177 return; 174 178 }
Note:
See TracChangeset
for help on using the changeset viewer.