Commit 7e0c289e authored by hjk's avatar hjk

editormanager: fix handling of file names ending with + like foo.c++

Reviewed-by: Tobias Hunger
parent 187e4d68
......@@ -1187,9 +1187,11 @@ int extractLineNumber(QString *fileName)
return -1;
if (fileName->at(i) == ':' || fileName->at(i) == '+') {
int result = fileName->mid(i+1).toInt();
if (result) {
*fileName = fileName->left(i);
return result;
}
}
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment