diff options
Diffstat (limited to 'plugins/DbEditorPP/src')
| -rw-r--r-- | plugins/DbEditorPP/src/copymodule.cpp | 2 | ||||
| -rw-r--r-- | plugins/DbEditorPP/src/deletemodule.cpp | 2 | ||||
| -rw-r--r-- | plugins/DbEditorPP/src/icons.cpp | 2 | ||||
| -rw-r--r-- | plugins/DbEditorPP/src/watchedvars.cpp | 2 | 
4 files changed, 4 insertions, 4 deletions
diff --git a/plugins/DbEditorPP/src/copymodule.cpp b/plugins/DbEditorPP/src/copymodule.cpp index 7dad7a6934..4bc2b21f4c 100644 --- a/plugins/DbEditorPP/src/copymodule.cpp +++ b/plugins/DbEditorPP/src/copymodule.cpp @@ -131,7 +131,7 @@ INT_PTR CALLBACK copyModDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPara  		}
  		index = (int)SendMessage(GetDlgItem(hwnd, IDC_CONTACTS), CB_INSERTSTRING, 0, (LPARAM)(char*)Translate("Settings"));
 -		SendMessage(GetDlgItem(hwnd, IDC_CONTACTS), CB_SETITEMDATA, index, (LPARAM)0);
 +		SendMessage(GetDlgItem(hwnd, IDC_CONTACTS), CB_SETITEMDATA, index, 0);
  		SendMessage(GetDlgItem(hwnd, IDC_CONTACTS), CB_SETCURSEL, index, 0);
  		SetWindowLongPtr(hwnd,GWLP_USERDATA,lParam);
 diff --git a/plugins/DbEditorPP/src/deletemodule.cpp b/plugins/DbEditorPP/src/deletemodule.cpp index c4a3fba820..e55845d7bb 100644 --- a/plugins/DbEditorPP/src/deletemodule.cpp +++ b/plugins/DbEditorPP/src/deletemodule.cpp @@ -142,7 +142,7 @@ INT_PTR CALLBACK DeleteModuleDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM  void deleteModuleGui()
  {
      if (!hwnd2Delete)
 -		hwnd2Delete = CreateDialogParam(hInst, MAKEINTRESOURCE(IDD_COPY_MOD), hwnd2mainWindow, DeleteModuleDlgProc, (LPARAM)0);
 +		hwnd2Delete = CreateDialogParam(hInst, MAKEINTRESOURCE(IDD_COPY_MOD), hwnd2mainWindow, DeleteModuleDlgProc, 0);
  	else
  		SetForegroundWindow(hwnd2Delete);
  }
\ No newline at end of file diff --git a/plugins/DbEditorPP/src/icons.cpp b/plugins/DbEditorPP/src/icons.cpp index 9ba200a923..d2902fce20 100644 --- a/plugins/DbEditorPP/src/icons.cpp +++ b/plugins/DbEditorPP/src/icons.cpp @@ -72,7 +72,7 @@ HICON LoadSkinnedDBEIcon(int icon)  {
  	char name[32];
  	mir_snprintf(name, SIZEOF(name), "DBE++_%d", icon);
 -	HICON hIcon = (HICON)CallService(MS_SKIN2_GETICON,0,(LPARAM)name);
 +	HICON hIcon = Skin_GetIcon(name);
  	return (hIcon) ? hIcon : LoadIcon(hInst, MAKEINTRESOURCE(icon));
  }
 diff --git a/plugins/DbEditorPP/src/watchedvars.cpp b/plugins/DbEditorPP/src/watchedvars.cpp index b7d2cf6b73..1e315451b8 100644 --- a/plugins/DbEditorPP/src/watchedvars.cpp +++ b/plugins/DbEditorPP/src/watchedvars.cpp @@ -227,7 +227,7 @@ INT_PTR CALLBACK WatchDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)                 urd.cbSize=sizeof(urd);
                 urd.hInstance=hInst;
                 urd.hwndDlg=hwnd;
 -               urd.lParam=(LPARAM)0;
 +               urd.lParam=0;
                 urd.lpTemplate=MAKEINTRESOURCE(IDD_WATCH_DIAG);
                 urd.pfnResizer=WatchDialogResize;
                 CallService(MS_UTILS_RESIZEDIALOG,0,(LPARAM)&urd);
  | 
