aboutsummaryrefslogtreecommitdiff
path: root/icons
diff options
context:
space:
mode:
authorTorbjörn Andersson2010-07-14 04:42:27 +0000
committerTorbjörn Andersson2010-07-14 04:42:27 +0000
commit67601273002a43134d23202eed759c1691ea16dc (patch)
tree94e088117d883d01d45365ddd48fcd1b8d71e766 /icons
parent3cb59d237e85805eeab377ec8d571a76d83cd029 (diff)
downloadscummvm-rg350-67601273002a43134d23202eed759c1691ea16dc.tar.gz
scummvm-rg350-67601273002a43134d23202eed759c1691ea16dc.tar.bz2
scummvm-rg350-67601273002a43134d23202eed759c1691ea16dc.zip
The new buffer has to be one byte longer than the length of the 'buffer'
string. (Error spotted by cppcheck.) Also, there's no need to use sprintf() where a strcpy() will do just as well. (It's tempting, but probably not appropriate, to use strdup(). I'm guessing the buffer *has* to be allocated with 'new'.) svn-id: r50872
Diffstat (limited to 'icons')
0 files changed, 0 insertions, 0 deletions