[utils.cpp:62]: (warning) String literal "on" doesn't match length argument for substr().
if(args[i].substr(13,3) == "on") {
Maybe better code
if(args[i].substr(13,2) == "on") {
Many duplicates in the same file.
Log in to post a comment.