diff options
Diffstat (limited to 'plugins/TabSRMM/src/modplus.cpp')
-rw-r--r-- | plugins/TabSRMM/src/modplus.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/modplus.cpp b/plugins/TabSRMM/src/modplus.cpp index 7288c5b986..ef2ba6b72d 100644 --- a/plugins/TabSRMM/src/modplus.cpp +++ b/plugins/TabSRMM/src/modplus.cpp @@ -56,7 +56,7 @@ static TCHAR* getMenuEntry(int i) DBVARIANT dbv = {0};
mir_snprintf(MEntry, 255, "MenuEntry_%u", i);
- if ( !M->GetTString(NULL, "tabmodplus",MEntry, &dbv)) {
+ if ( !db_get_ts(NULL, "tabmodplus",MEntry, &dbv)) {
msg = mir_tstrdup(dbv.ptszVal);
db_free(&dbv);
}
@@ -127,7 +127,7 @@ static int CustomButtonPressed(WPARAM wParam,LPARAM lParam) int menulimit;
HMENU hMenu=NULL;
- menulimit = M->GetByte("tabmodplus","MenuCount", 0);
+ menulimit = M.GetByte("tabmodplus","MenuCount", 0);
if ( menulimit ) {
hMenu = CreatePopupMenu();
//pszMenu=malloc(menulimit*sizeof(TCHAR*));
|