aboutsummaryrefslogtreecommitdiffstats
path: root/qt-models/weightmodel.cpp
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-07-28 11:13:14 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-29 08:30:08 -0700
commit794739b4c0827dfba4eab78f639418f7d4da1f44 (patch)
tree1393d9d672c9bc9ba9bfda131d29419112817ca7 /qt-models/weightmodel.cpp
parent44e8d302effabc305cf79faebbe051eda959f006 (diff)
downloadsubsurface-794739b4c0827dfba4eab78f639418f7d4da1f44.tar.gz
strstr is a case sensitive compare
strstr is a case sensitive compare and the string reported from libgit2 reads "reference" and not "Reference". Further investigation reveals commit 909d5494368a0080 of libgit2. Here, the change is made from Reference to reference, breaking our rather poor way of detecting something from an error string. So, to be future-proof to more libgit2 oddities, it might be wise to use strcasestr in this situation. But this seems a not fully supported variant of strstr, so leave it at this point. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'qt-models/weightmodel.cpp')
0 files changed, 0 insertions, 0 deletions