summaryrefslogtreecommitdiff
path: root/src/modules/database/dbini.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/database/dbini.cpp')
-rw-r--r--src/modules/database/dbini.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/database/dbini.cpp b/src/modules/database/dbini.cpp
index 89034b9ea8..aa42015730 100644
--- a/src/modules/database/dbini.cpp
+++ b/src/modules/database/dbini.cpp
@@ -386,7 +386,9 @@ static void ProcessIniFile(TCHAR* szIniPath, char *szSafeSections, char *szUnsaf
}
break;
default:
- MessageBox(NULL, TranslateT("Invalid setting type. The first character of every value must be b, w, d, l, s, e, u, g, h or n."), TranslateT("Install Database Settings"), MB_OK);
+ TCHAR buf[ 100 ];
+ mir_sntprintf(buf, SIZEOF(buf), TranslateT("Invalid setting type for '%s'. The first character of every value must be b, w, d, l, s, e, u, g, h or n."), _A2T(szName));
+ MessageBox(NULL, buf, TranslateT("Install Database Settings"), MB_ICONWARNING | MB_OK);
break;
}
}