Changeset 1391 for trunk/dll/fonts.c
- Timestamp:
- Jan 12, 2009, 12:55:53 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/fonts.c
r1305 r1391 11 11 05 Jan 08 SHL Sync 12 12 29 Nov 08 GKY Remove or replace with a mutex semaphore DosEnterCriSec where appropriate. 13 10 Jan 09 GKY Removed rotating strings for font samples as part of StringTable conversion 13 14 14 15 ***********************************************************************/ … … 32 33 #pragma data_seg(DATA1) 33 34 34 static INT counter = 0;35 35 36 36 /* … … 125 125 //DosEnterCritSec(); //GKY 11-30-08 126 126 DosRequestMutexSem(hmtxFM2Globals, SEM_INDEFINITE_WAIT); 127 szPreview = GetPString(IDS_BLURB1TEXT + counter++); 128 if (strcmp(szPreview, "0")) { 129 counter = 0; 130 szPreview = GetPString(IDS_BLURB1TEXT + counter++); 131 } 127 szPreview = GetPString(IDS_BLURB1TEXT); 132 128 DosReleaseMutexSem(hmtxFM2Globals); 133 129 //DosExitCritSec(); … … 188 184 //DosEnterCritSec(); //GKY 11-30-08 189 185 DosRequestMutexSem(hmtxFM2Globals, SEM_INDEFINITE_WAIT); 190 szPreview = GetPString(IDS_BLURB1TEXT + counter++); 191 if (strcmp(szPreview, "0")) { 192 counter = 0; 193 szPreview = GetPString(IDS_BLURB1TEXT + counter++); 194 } 186 szPreview = GetPString(IDS_BLURB1TEXT); 195 187 DosReleaseMutexSem(hmtxFM2Globals); 196 188 //DosExitCritSec();
Note:
See TracChangeset
for help on using the changeset viewer.