Mercurial > mplayer.hg
diff gui/util/string.c @ 35493:411875efca3f
Introduce boolean symbolic constants.
Use them wherever suitable and useful to make code easier to read.
| author | ib |
|---|---|
| date | Tue, 04 Dec 2012 18:36:14 +0000 |
| parents | 0477dcdcd6d6 |
| children | e27855a45128 |
line wrap: on
line diff
--- a/gui/util/string.c Tue Dec 04 16:08:18 2012 +0000 +++ b/gui/util/string.c Tue Dec 04 18:36:14 2012 +0000 @@ -25,6 +25,7 @@ #include <string.h> #include "string.h" +#include "gui/gui.h" #include "gui/interface.h" #include "config.h" @@ -93,7 +94,7 @@ char *trim(char *in) { char *src, *dest; - int freeze = 0; + int freeze = False; src = dest = in; @@ -128,7 +129,7 @@ char *decomment(char *in) { char *p; - int nap = 0; + int nap = False; p = in;
