diff options
| author | Pascal Viandier <midi-pascal@videotron.ca> | 2015-10-01 19:38:38 +0200 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2015-10-01 19:38:38 +0200 |
| commit | 1e0e72fceb542e4eb984b50f747c38314f055b8f (patch) | |
| tree | 40d35ec3682c465348f8d8d73509aeda4729a8bb /src/dinfo.cpp | |
| parent | c9e33e7d3fcd5b21a00e13dcbb5742a6c8da6106 (diff) | |
| download | kooldock-1e0e72fceb542e4eb984b50f747c38314f055b8f.tar.gz kooldock-1e0e72fceb542e4eb984b50f747c38314f055b8f.zip | |
Fix remaining issues and build warnings
Cleanup code
Signed-off-by: Pascal Viandier <midi-pascal@videotron.ca>
Diffstat (limited to 'src/dinfo.cpp')
| -rw-r--r-- | src/dinfo.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/dinfo.cpp b/src/dinfo.cpp index f6cf476..3147894 100644 --- a/src/dinfo.cpp +++ b/src/dinfo.cpp @@ -1,6 +1,6 @@ /*************************************************************************** - * Copyright (C) 2007 by bisiek * - * bisiek9@gmail.com * + * Copyright (C) 2007 by bisiek * + * bisiek9@gmail.com * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -21,11 +21,10 @@ dInfo::dInfo() { - mBool=false; - mInt=0; + mBool = false; + mInt = 0; } - dInfo::~dInfo() { } @@ -37,7 +36,7 @@ bool dInfo::gBool() void dInfo::sBool(bool nVal) { - mBool=nVal; + mBool = nVal; } int dInfo::gInt() @@ -47,10 +46,10 @@ int dInfo::gInt() void dInfo::sInt(int nVal) { - mInt=nVal; + mInt = nVal; } void dInfo::inc(int val) { - mInt+=val; + mInt += val; } |
