summaryrefslogtreecommitdiff
path: root/src/utils/string.cpp
AgeCommit message (Collapse)AuthorFilesLines
2023-05-02Fixed condition in compareStrIThorbjørn Lindeijer1-1/+1
The result of the first part of the condition, "itA < endA", was simply unused. Discovered thanks to attribute ‘nodiscard’ [-Wunused-result] in more recent C++ standard / compiler.
2022-08-19Apply C++11 fixitsThorbjørn Lindeijer1-2/+2
modernize-loop-convert modernize-deprecated-headers
2013-01-09Replaced 'unsigned int' with 'unsigned'Thorbjørn Lindeijer1-1/+1
Same thing, but shorter.
2010-12-15Fix compareStrI functionJared Adams1-1/+7
It now takes length into consideration. Reviewed-by: Chuck Miller
2010-11-14Renamed .hpp files into .h for consistency.Yohann Ferreira1-1/+1
Also added an header to the autoattack.{h,cpp} files. Big but trivial fix.
2010-09-08Centralized stringToBool conversion.Yohann Ferreira1-1/+35
Also moved the trim() function into the utils namespace where it belongs more, and made some random code cleanups. Reviewed-by: Thorbjorn.
2010-02-07Update Copyright date for Manaserv.Bertram1-1/+1
2009-12-09Fix detecting collision layer for mapsJared Adams1-3/+24
2009-12-06Fixed name of the project in copyright headersThorbjørn Lindeijer1-13/+13
Also updated the headers to refer to the GPL by URL instead of suggesting to contact the FSF by snail mail, as per the latest GPL usage instructions.
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-1/+0
2008-11-05Use a string util for converting strings toDavid Athay1-0/+12
integers, as per Bjorns suggestion.
2008-10-31Changed command system to handle commands without template magic.David Athay1-0/+13
2008-10-23Fixed crash introduced in utils::toupperBjørn Lindeijer1-1/+1
2008-10-23Fixed compiler warnings, including a forgotten initialization of an item'sBjørn Lindeijer1-6/+6
script pointer.
2008-10-23ignore case in map object types (by Chuck Miller)Roderic Morris1-0/+31