[rkward-cvs] [rkward] rkward/rbackend: Fix version parsing
Thomas Friedrichsmeier
thomas.friedrichsmeier at ruhr-uni-bochum.de
Wed Feb 4 20:15:20 UTC 2015
Git commit f2234fb005b51106d526e64f74b5d562e9e3c842 by Thomas Friedrichsmeier.
Committed on 04/02/2015 at 20:15.
Pushed by tfry into branch 'master'.
Fix version parsing
M +1 -1 rkward/rbackend/rksessionvars.cpp
http://commits.kde.org/rkward/f2234fb005b51106d526e64f74b5d562e9e3c842
diff --git a/rkward/rbackend/rksessionvars.cpp b/rkward/rbackend/rksessionvars.cpp
index 8799f6a..8f4dcc1 100644
--- a/rkward/rbackend/rksessionvars.cpp
+++ b/rkward/rbackend/rksessionvars.cpp
@@ -90,7 +90,7 @@ quint32 RKSessionVars::parseVersionString (const QString &version, QString *suff
}
}
}
- if (opos < (version.size () - 1)) {
+ if (opos <= (version.size () - 1)) {
if (suffix) *suffix = version.mid (opos);
else RK_DEBUG (MISC, DL_WARNING, "Non numeric portion ('%s') of version specification '%s' will be ignored.", qPrintable (version.mid (opos)), qPrintable (version));
}
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
rkward-cvs mailing list
rkward-cvs at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-cvs
More information about the rkward-tracker
mailing list