(GUILE::parse_args): Fix OBOE w/ `orig_len'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e05f5cda99
commit
3cd435c3f5
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ GUILE::parse_args (int argc, char *argv[])
|
|||
// Make sure `prefix' ends in an underscore
|
||||
|
||||
orig_len = strlen (prefix);
|
||||
if (prefix[orig_len] != '_') {
|
||||
if (prefix[orig_len - 1] != '_') {
|
||||
prefix[1 + orig_len] = 0;
|
||||
prefix[orig_len] = '_';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue