[vlc-devel] commit: Boolean cosmetic ( Rémi Denis-Courmont )
git version control
git at videolan.org
Wed May 6 19:27:12 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 6 19:16:43 2009 +0300| [4432e3715a524affe7dacceddd0d7b86266bba93] | committer: Rémi Denis-Courmont
Boolean cosmetic
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4432e3715a524affe7dacceddd0d7b86266bba93
---
src/config/file.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/config/file.c b/src/config/file.c
index 85e3af8..1f99e35 100644
--- a/src/config/file.c
+++ b/src/config/file.c
@@ -462,7 +462,7 @@ static int SaveConfigFile( vlc_object_t *p_this, const char *psz_module_name,
/* backup file into memory, we only need to backup the sections we won't
* save later on */
- b_backup = 0;
+ b_backup = false;
while( file && fgets( p_line, 1024, file ) )
{
if( (p_line[0] == '[') && (p_index2 = strchr(p_line,']')))
@@ -495,11 +495,11 @@ static int SaveConfigFile( vlc_object_t *p_this, const char *psz_module_name,
#endif
*p_index2 = ']';
- b_backup = 1;
+ b_backup = true;
}
else
{
- b_backup = 0;
+ b_backup = false;
}
}
More information about the vlc-devel
mailing list