summaryrefslogtreecommitdiff
path: root/src/modules/database/dbini.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-06-14 12:42:40 +0000
committerRobert Pösel <robyer@seznam.cz>2013-06-14 12:42:40 +0000
commiteb533fa01e57999b91cde97c676cd4afc237c8f5 (patch)
tree82ab9d91fb3a77330309c664323631f9f108ef3e /src/modules/database/dbini.cpp
parent5e54283e7ab71e94e7df98253a00c53c6d470e77 (diff)
Improved and iconized some MessageBoxes.
git-svn-id: http://svn.miranda-ng.org/main/trunk@4931 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;
}
}