summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-10-04 14:49:39 +0000
committersmatz <smatz@openttd.org>2009-10-04 14:49:39 +0000
commit5c2fb2f8c18ddaeed9d4a0ff97fd970077fdd17b (patch)
tree0bb4f1d158c1446d388a57c6e436186fded551bf
parent1e665c7639a81da6e50e888976569b64288d8052 (diff)
downloadopenttd-5c2fb2f8c18ddaeed9d4a0ff97fd970077fdd17b.tar.xz
(svn r17690) -Fix: minor coding style issue
-rw-r--r--src/driver.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/driver.cpp b/src/driver.cpp
index 6b70515f1..96ccd761e 100644
--- a/src/driver.cpp
+++ b/src/driver.cpp
@@ -195,7 +195,8 @@ char *DriverFactoryBase::GetDriversInfo(char *p, const char *last)
/** Frees memory used for this->name
*/
-DriverFactoryBase::~DriverFactoryBase() {
+DriverFactoryBase::~DriverFactoryBase()
+{
if (this->name == NULL) return;
/* Prefix the name with driver type to make it unique */