mirror of
https://github.com/ModOrganizer2/modorganizer-nxmhandler.git
synced 2026-07-27 14:03:41 -07:00
Don't use less than with an iterator
This commit is contained in:
@@ -121,7 +121,7 @@ QStringList HandlerStorage::stripCall(const QString &call)
|
||||
|
||||
bool in_quote = false;
|
||||
QString word;
|
||||
for( QString::const_iterator iter = call.begin(); iter <= call.end(); iter++ ){
|
||||
for( QString::const_iterator iter = call.begin(); iter != call.end(); iter++ ){
|
||||
// Handle quotes
|
||||
if (*iter == '"') {
|
||||
if (!in_quote) {
|
||||
|
||||
Reference in New Issue
Block a user