summaryrefslogtreecommitdiff
path: root/tools/scan_includes.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/scan_includes.c')
-rw-r--r--tools/scan_includes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/scan_includes.c b/tools/scan_includes.c
index 734c147f..63af3bcf 100644
--- a/tools/scan_includes.c
+++ b/tools/scan_includes.c
@@ -69,7 +69,7 @@ void scan_file(char* filename) {
} else if ((strncmp(buffer, "INCLUDE", 7) == 0) || (strncmp(buffer, "include", 7) == 0)) {
is_include = true;
}
- if (is_include) {
+ if (is_incbin || is_include) {
buffer = strchr(buffer, '"');
if (!buffer) {
break;