diff options
Diffstat (limited to 'plugins/TabSRMM/src/themes.cpp')
-rw-r--r-- | plugins/TabSRMM/src/themes.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/themes.cpp b/plugins/TabSRMM/src/themes.cpp index bcda08d422..44243d5717 100644 --- a/plugins/TabSRMM/src/themes.cpp +++ b/plugins/TabSRMM/src/themes.cpp @@ -1036,8 +1036,7 @@ void CSkin::setFileName() {
DBVARIANT dbv;
if (0 == db_get_ts(0, SRMSGMOD_T, "ContainerSkin", &dbv)) {
- M.pathToAbsolute(dbv.ptszVal, m_tszFileName, M.getSkinPath());
- m_tszFileName[MAX_PATH - 1] = 0;
+ PathToAbsoluteT(dbv.ptszVal, m_tszFileName, M.getSkinPath());
db_free(&dbv);
}
else
|