summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--amiga/theme.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/amiga/theme.c b/amiga/theme.c
index a6fe97d5a..4f442f397 100644
--- a/amiga/theme.c
+++ b/amiga/theme.c
@@ -115,7 +115,12 @@ void ami_theme_init(void)
UnLock(lock);
}
- messages_load(themefile);
+ lock = Lock(themefile,ACCESS_READ);
+ if(lock)
+ {
+ UnLock(lock);
+ messages_load(themefile);
+ }
}
void ami_theme_throbber_setup(void)