Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commiteb9033c

Browse files
committed
Do not accept values from sections following the specified section.
1 parentaf12985 commiteb9033c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎src/interfaces/odbc/gpps.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ GetPrivateProfileString(char *theSection,/* section name */
5555
char*aString;
5656
size_taLineLength;
5757
size_taReturnLength=0;
58-
5958
BOOLaSectionFound= FALSE;
6059
BOOLaKeyFound= FALSE;
6160
intj=0;
@@ -151,9 +150,9 @@ GetPrivateProfileString(char *theSection,/* section name */
151150
/* accept as matched if NULL key or exact match */
152151

153152
if(!theSection|| !strcmp(aStart,theSection))
154-
{
155153
aSectionFound= TRUE;
156-
}
154+
else
155+
aSectionFound= FALSE;
157156
}
158157

159158
break;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp