Changeset 347 for trunk/dll/codepage.c
- Timestamp:
- Jul 26, 2006, 7:43:28 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/codepage.c
r2 r347 1 2 /*********************************************************************** 3 4 $Id$ 5 6 Select code page 7 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2006 Steven H.Levine 10 11 14 Jul 06 SHL Use Runtime_Error 12 13 ***********************************************************************/ 14 1 15 #define INCL_DOS 2 16 #define INCL_WIN 3 4 17 #include <os2.h> 18 5 19 #include <stdlib.h> 6 20 #include <stdio.h> 7 21 #include <string.h> 8 22 #include <time.h> 23 9 24 #include "fm3dll.h" 10 25 #include "fm3dlg.h" … … 12 27 13 28 #pragma data_seg(DATA1) 29 30 static PSZ pszSrcFile = __FILE__; 14 31 15 32 #pragma alloc_text(FMCODEPAGE,PickCodePageDlgBox,PickCodepage) … … 151 168 257, 152 169 s); 153 if(*s) { 170 if(!*s) 171 Runtime_Error(pszSrcFile, __LINE__, "no input"); 172 else { 154 173 for(x = 0; 155 174 (p = GetPString(IDS_CODEPAGES1 + x)) != NULL; … … 161 180 } 162 181 } 163 else164 DosBeep(50,100);165 182 } 166 183 break;
Note:
See TracChangeset
for help on using the changeset viewer.