Use parentheses around assignment used as truth value, fix warning.

Originally committed as revision 17437 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini 2009-02-18 21:30:44 +00:00
parent 818ff9a4eb
commit 61af68d71a
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ int Configure(void **ctxp, int argc, char *argv[])
/* Use ':' to split FONTPATH */
if (fp)
while (p = strchr(fp, ':')) {
while ((p = strchr(fp, ':'))) {
*p = 0;
imlib_add_path_to_font_path(fp);
fp = p + 1;