Changeset 757 for trunk/src/winmm/os2timer.cpp
- Timestamp:
- Aug 31, 1999, 5:39:21 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/winmm/os2timer.cpp
r756 r757 1 /* $Id: os2timer.cpp,v 1. 8 1999-08-31 15:04:10 phaller Exp $ */1 /* $Id: os2timer.cpp,v 1.9 1999-08-31 15:39:20 phaller Exp $ */ 2 2 3 3 /* … … 170 170 /***************************************************************************** 171 171 * Name : OS2TimerResolution::queryCurrentResolution 172 * Purpose : determine the m aximum resolution currently requested172 * Purpose : determine the minimum resolution currently requested 173 173 * Parameters: 174 174 * Variables : … … 183 183 { 184 184 OS2TimerResolution *timeRes = OS2TimerResolution::sTimerResolutions; 185 int iM ax= -1;185 int iMin = -1; 186 186 187 187 if (timeRes != NULL) // do we have an entry yet? … … 190 190 timeRes = timeRes->next) 191 191 { 192 if (timeRes->dwPeriod < iM ax) // determine minimum time period193 iM ax= timeRes->dwPeriod;194 } 195 196 return iM ax;192 if (timeRes->dwPeriod < iMin) // determine minimum time period 193 iMin = timeRes->dwPeriod; 194 } 195 196 return iMin; 197 197 } 198 198
Note:
See TracChangeset
for help on using the changeset viewer.