mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
(sfs_vfmake): use gboolean instead of int for boolean variable was_percent.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
286e10679e
commit
db342d69ac
@ -129,7 +129,7 @@ sfs_vfmake (const vfs_path_t * vpath, vfs_path_t * cache_vpath)
|
||||
int w;
|
||||
char pad[10240];
|
||||
char *s_iter, *t = pad;
|
||||
int was_percent = 0;
|
||||
gboolean was_percent = FALSE;
|
||||
vfs_path_t *pname; /* name of parent archive */
|
||||
char *pqname; /* name of parent archive, quoted */
|
||||
const vfs_path_element_t *path_element;
|
||||
@ -174,7 +174,7 @@ sfs_vfmake (const vfs_path_t * vpath, vfs_path_t * cache_vpath)
|
||||
{
|
||||
const char *ptr = NULL;
|
||||
|
||||
was_percent = 0;
|
||||
was_percent = FALSE;
|
||||
|
||||
switch (*s_iter)
|
||||
{
|
||||
@ -200,7 +200,7 @@ sfs_vfmake (const vfs_path_t * vpath, vfs_path_t * cache_vpath)
|
||||
}
|
||||
}
|
||||
else if (*s_iter == '%')
|
||||
was_percent = 1;
|
||||
was_percent = TRUE;
|
||||
else
|
||||
{
|
||||
COPY_CHAR;
|
||||
|
Loading…
Reference in New Issue
Block a user