summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorkrzys-h <krzys_h@interia.pl>2014-06-27 19:50:09 +0200
committerkrzys-h <krzys_h@interia.pl>2014-06-27 19:52:09 +0200
commit1835d2ae580525603308206f7b8e6b4552b3ca0f (patch)
tree159fb045b27e9d816819b22a30e7f5b0b2eee173 /src/common
parent400bcd60fe07ef313f3944dda725020e0f6485da (diff)
downloadcolobot-1835d2ae580525603308206f7b8e6b4552b3ca0f.tar.gz
colobot-1835d2ae580525603308206f7b8e6b4552b3ca0f.tar.bz2
colobot-1835d2ae580525603308206f7b8e6b4552b3ca0f.zip
Removed old code based on #ifs (issue #55)
Diffstat (limited to 'src/common')
-rw-r--r--src/common/misc.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/common/misc.cpp b/src/common/misc.cpp
index 65689e6..92c3e9a 100644
--- a/src/common/misc.cpp
+++ b/src/common/misc.cpp
@@ -192,18 +192,6 @@ void TimeToAscii(time_t time, char *buffer)
year = when.tm_year+1900;
if ( year < 2000 ) year -= 1900;
else year -= 2000;
-/* TODO
-#if _FRENCH
- sprintf(buffer, "%.2d.%.2d.%.2d %.2d:%.2d",
- when.tm_mday, when.tm_mon+1, year,
- when.tm_hour, when.tm_min);
-#endif
-#if _GERMAN | _WG
- sprintf(buffer, "%.2d.%.2d.%.2d %.2d:%.2d",
- when.tm_mday, when.tm_mon+1, year,
- when.tm_hour, when.tm_min);
-#endif
-#if _ENGLISH*/
char format[10];
int hour;
@@ -222,12 +210,6 @@ void TimeToAscii(time_t time, char *buffer)
sprintf(buffer, "%.2d.%.2d.%.2d %.2d:%.2d %s",
when.tm_mon+1, when.tm_mday, year,
hour, when.tm_min, format);
-/*#endif
-#if _POLISH
- sprintf(buffer, "%.2d.%.2d.%.2d %.2d:%.2d",
- when.tm_mday, when.tm_mon+1, year,
- when.tm_hour, when.tm_min);
-#endif*/
}
// Converting time to string.