Document that \n is the other white space.

SVN revision: 26110
This commit is contained in:
David Walter Seikel 2006-09-24 19:27:20 +00:00
parent 4069dd3a90
commit 1027e2004c
1 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ ecore_desktop_ini_get(const char *file)
char *value; char *value;
c = buffer; c = buffer;
/* Strip preceeding blanks. */ /* Strip preceeding blanks. Note that \n is treated differently from the other white space. */
while (((*c == ' ') || (*c == '\t')) && (*c != '\n') && (*c != '\0')) while (((*c == ' ') || (*c == '\t')) && (*c != '\n') && (*c != '\0'))
c++; c++;
/* Skip blank lines and comments */ /* Skip blank lines and comments */
@ -112,7 +112,7 @@ ecore_desktop_ini_get(const char *file)
if (*c == '=') /* Equals found. */ if (*c == '=') /* Equals found. */
{ {
*c++ = '\0'; *c++ = '\0';
/* Strip preceeding blanks. */ /* Strip preceeding blanks. Note that \n is treated differently from the other white space. */
while (((*c == ' ') || (*c == '\t')) && (*c != '\n') && (*c != '\0')) while (((*c == ' ') || (*c == '\t')) && (*c != '\n') && (*c != '\0'))
c++; c++;
value = c; value = c;