summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/skinupdater/skinupdater.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/skinupdater/skinupdater.c b/utils/skinupdater/skinupdater.c
index c354234e27..9329b9a9f0 100644
--- a/utils/skinupdater/skinupdater.c
+++ b/utils/skinupdater/skinupdater.c
@@ -242,7 +242,7 @@ top:
}
else if (*in == '#')
{
- while (*in != '\n')
+ while (*in && *in != '\n')
{
PUTCH(out, *in++);
}