From d6c34bdc4b12ea7bef445ef4d84bf8a5370c02dd Mon Sep 17 00:00:00 2001 From: Jordi Vilalta Prat Date: Mon, 28 Jan 2008 00:14:17 +0000 Subject: Fixed the spaces before tabs. svn-id: r30667 --- backends/platform/wince/missing/dirent.h | 4 ++-- backends/platform/wince/wince-sdl.cpp | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'backends/platform/wince') diff --git a/backends/platform/wince/missing/dirent.h b/backends/platform/wince/missing/dirent.h index 82dd0b2ee7..07e54bbb9d 100644 --- a/backends/platform/wince/missing/dirent.h +++ b/backends/platform/wince/missing/dirent.h @@ -7,7 +7,7 @@ struct dirent long d_ino; /* Always zero. */ unsigned short d_reclen; /* Always zero. */ unsigned short d_namlen; /* Length of name in d_name. */ - char* d_name; /* File name. */ + char* d_name; /* File name. */ /* NOTE: The name in the dirent structure points to the name in the * finddata_t structure in the DIR. */ }; @@ -44,7 +44,7 @@ typedef struct DIR* opendir (const char*); struct dirent* readdir (DIR*); -int closedir (DIR*); +int closedir (DIR*); /* void rewinddir (DIR*); long telldir (DIR*); diff --git a/backends/platform/wince/wince-sdl.cpp b/backends/platform/wince/wince-sdl.cpp index 3123baa7fb..8cf5fac279 100644 --- a/backends/platform/wince/wince-sdl.cpp +++ b/backends/platform/wince/wince-sdl.cpp @@ -1122,7 +1122,7 @@ bool OSystem_WINCE3::update_scalers() { _adjustAspectRatio = false; if (CEDevice::hasPocketPCResolution()) { - if ( (!_orientationLandscape && (_screenWidth == 320 || !_screenWidth)) + if ( (!_orientationLandscape && (_screenWidth == 320 || !_screenWidth)) || CEDevice::hasSquareQVGAResolution() ) { if (getScreenWidth() != 320) { _scaleFactorXm = 3; @@ -1157,14 +1157,14 @@ bool OSystem_WINCE3::update_scalers() { _scalerProc = Normal1x; _modeFlags = 0; } - } else if (_screenWidth == 640 && !(isOzone() && (getScreenWidth() >= 640 || getScreenHeight() >= 640))) { + } else if (_screenWidth == 640 && !(isOzone() && (getScreenWidth() >= 640 || getScreenHeight() >= 640))) { _scaleFactorXm = 1; _scaleFactorXd = 2; _scaleFactorYm = 1; _scaleFactorYd = 2; _scalerProc = PocketPCHalf; _modeFlags = 0; - } else if (_screenWidth == 640 && (isOzone() && (getScreenWidth() >= 640 || getScreenHeight() >= 640))) { + } else if (_screenWidth == 640 && (isOzone() && (getScreenWidth() >= 640 || getScreenHeight() >= 640))) { _scaleFactorXm = 1; _scaleFactorXd = 1; _scaleFactorYm = 1; @@ -2433,7 +2433,7 @@ void OSystem_WINCE3::getTimeAndDate(struct tm &t) const { SYSTEMTIME systime; GetLocalTime(&systime); - t.tm_year = systime.wYear - 1900; + t.tm_year = systime.wYear - 1900; t.tm_mon = systime.wMonth - 1; t.tm_wday = systime.wDayOfWeek; t.tm_mday = systime.wDay; -- cgit v1.2.3