projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00c7269
)
fixed crash bug when running in headless mode
author
Holger Schemel
<holger.schemel@virtion.de>
Tue, 19 Nov 2024 22:46:50 +0000
(23:46 +0100)
committer
Holger Schemel
<holger.schemel@virtion.de>
Tue, 19 Nov 2024 22:46:50 +0000
(23:46 +0100)
src/init.c
patch
|
blob
|
history
diff --git
a/src/init.c
b/src/init.c
index 3a063ee7b7beeab28d5d1a940765de2991654583..a5cce8a4dbf5baba9362efe7736cbfb548ed35c2 100644
(file)
--- a/
src/init.c
+++ b/
src/init.c
@@
-385,6
+385,9
@@
void InitColorTemplateImages(void)
void InitColorTemplateImagesIfNeeded(void)
{
+ if (program.headless)
+ return;
+
if (anyImagehasColorTemplate())
InitColorTemplateImages();
}