Fixed a char/NULL comparison.

This commit is contained in:
Francois Gouget 2000-10-19 20:31:09 +00:00 committed by Alexandre Julliard
parent 0dc07e2d23
commit db92536cfd
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ int pop_driver(char **drivers, char **single, int *length)
*single = *drivers;
*length = 0;
while ((*drivers[0] != NULL) && (*drivers[0] != '+'))
while ((*drivers[0] != '\0') && (*drivers[0] != '+'))
{
(*drivers)++;
(*length)++;