summaryrefslogtreecommitdiff
path: root/src/driver.cpp
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-02-23 18:55:07 +0000
committerbelugas <belugas@openttd.org>2007-02-23 18:55:07 +0000
commit6dbf9f2f41e82a05d284c72ab3acbae949c3e904 (patch)
tree28b541cce9a8abd90d47b1524d635b9a38e37e51 /src/driver.cpp
parent1bbbbeeef19727639d80c9bfe760248d50720bc2 (diff)
downloadopenttd-6dbf9f2f41e82a05d284c72ab3acbae949c3e904.tar.xz
(svn r8862) -Cleanup: doxygen changes, again. Mostly @files missing tags and a few comments style.
Some documentation addition, when i can easily supply them
Diffstat (limited to 'src/driver.cpp')
-rw-r--r--src/driver.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/driver.cpp b/src/driver.cpp
index 6c25cfc8c..bc02df745 100644
--- a/src/driver.cpp
+++ b/src/driver.cpp
@@ -1,5 +1,7 @@
/* $Id$ */
+/** @file driver.cpp */
+
#include "stdafx.h"
#include "openttd.h"
#include "debug.h"
@@ -143,13 +145,13 @@ void LoadDriver(int driver, const char *name)
char buffer[256];
const char* parms[32];
- // Extract the driver name and put parameter list in parm
+ /* Extract the driver name and put parameter list in parm */
ttd_strlcpy(buffer, name, sizeof(buffer));
parm = strchr(buffer, ':');
parms[0] = NULL;
if (parm != NULL) {
uint np = 0;
- // Tokenize the parm.
+ /* Tokenize the parm. */
do {
*parm++ = '\0';
if (np < lengthof(parms) - 1)