aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Tagliamonte <paultag@fluxbox.org>2012-04-10 07:28:45 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2012-04-10 07:28:52 (GMT)
commit940fbca3febe78b788c78d8bb90cdabed78bdf0b (patch)
tree3447310966d380c023204314413465304f465c71
parente6a01dcabb2d1598d02ab211d19e7a6776319010 (diff)
downloadfluxbox_paul-master.zip
fluxbox_paul-master.tar.bz2
removed 'always-true' expressionHEADmaster
-rw-r--r--src/FbTk/StringUtil.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/StringUtil.cc b/src/FbTk/StringUtil.cc
index 2cc47fd..0dcd989 100644
--- a/src/FbTk/StringUtil.cc
+++ b/src/FbTk/StringUtil.cc
@@ -100,7 +100,7 @@ int extractUnsignedNumber(const std::string& in, T& out) {
100 100
101 unsigned long long int result = 0; 101 unsigned long long int result = 0;
102 102
103 if (::extractBigNumber(in.c_str(), strtoull, result) && result >= 0) { 103 if (::extractBigNumber(in.c_str(), strtoull, result)) {
104 out = static_cast<T>(result); 104 out = static_cast<T>(result);
105 return 1; 105 return 1;
106 } 106 }