summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-09-11 18:20:32 +0000
committerDarkvater <darkvater@openttd.org>2005-09-11 18:20:32 +0000
commitc5fa3848f69c4850bdcd896f8c2839cc5824dc0d (patch)
tree146457e6cb6a25cfe86784a73b66a63af0c5c692
parent802edd7f0d322cb6a684144610a5cb378c90f0e8 (diff)
downloadopenttd-c5fa3848f69c4850bdcd896f8c2839cc5824dc0d.tar.xz
(svn r2944) Add Revision keyword to the file for --version/-v
-rw-r--r--saveload.c1
-rw-r--r--strgen/strgen.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/saveload.c b/saveload.c
index 232566859..5e5ff00a7 100644
--- a/saveload.c
+++ b/saveload.c
@@ -1430,7 +1430,6 @@ SaveOrLoadResult SaveOrLoad(const char *filename, int mode)
SlSaveChunks();
SlWriteFill(); // flush the save buffer
- /* Write to file */
if (_network_server ||
(save_thread = OTTDCreateThread(&SaveFileToDisk, (void*)"")) == NULL) {
DEBUG(misc, 1) ("cannot create savegame thread, reverting to single-threaded mode...");
diff --git a/strgen/strgen.c b/strgen/strgen.c
index 62f92ee9e..16c081089 100644
--- a/strgen/strgen.c
+++ b/strgen/strgen.c
@@ -1190,7 +1190,7 @@ int CDECL main(int argc, char* argv[])
int show_todo = 0;
if (argc > 1 && (!strcmp(argv[1], "-v") || !strcmp(argv[1], "--version"))) {
- puts("$Revision: 2617 $");
+ puts("$Revision$");
return 0;
}