From a17d4d06da37ca2d6d664f7c4465cc44a5f36b25 Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Sun, 4 Feb 2007 18:41:45 +0000 Subject: [PATCH] Write to log the diagnostic about unsuccessful reading language file --- golded3/gclang.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/golded3/gclang.cpp b/golded3/gclang.cpp index 6640d6e..2aadc63 100644 --- a/golded3/gclang.cpp +++ b/golded3/gclang.cpp @@ -703,6 +703,8 @@ void LoadLanguage(const char* file) // Assign weekday/month names AssignDateNames(); } + else + LOG.printf("Can't load language file \"%s\", OS reports: %s!", file, strerror(errno)); }