Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For chris #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix wrong return type
LSchueler authored and plaguedbypenguins committed Oct 10, 2023
commit 6f9ef5a09b690c6d0ac044762252de20defeecf8
2 changes: 1 addition & 1 deletion GetPot
Original file line number Diff line number Diff line change
@@ -1346,7 +1346,7 @@ GetPot::__match_starting_string(const char* StartString)
{ cursor = c; search_failed_f = false; return &(argv[c].c_str()[N]); }
}

if( ! search_loop_f ) return false;
if( ! search_loop_f ) return 0;

// (*) second loop from 0 to old cursor position
for(c = 1; c < OldCursor; c++) {