From 03e3e4ebe0fee7bbe8014014b77a21d22cc090a8 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> Date: Tue, 6 Apr 2010 00:55:48 +0000 Subject: Fixed translation issue Removed unneeded/duplicated code (thus shaved few more kb from the dll) git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@496 4f64403b-2f21-0410-a795-97e2b3489a10 --- updater/conf_dialog.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'updater/conf_dialog.cpp') diff --git a/updater/conf_dialog.cpp b/updater/conf_dialog.cpp index 9c6bdba..cbd6887 100644 --- a/updater/conf_dialog.cpp +++ b/updater/conf_dialog.cpp @@ -70,23 +70,23 @@ INT_PTR CALLBACK DlgProcConfirm(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP lvI.mask = LVIF_TEXT | LVIF_PARAM;// | LVIF_IMAGE; lvI.iSubItem = 0; lvI.lParam = (LPARAM)&todo[i]; - lvI.pszText = TranslateTS(temp_str = GetTString(todo[i].update.szComponentName)); + lvI.pszText = (temp_str = GetTString(todo[i].update.szComponentName)); lvI.iItem = ListView_InsertItem(GetDlgItem(hwndDlg, IDC_LIST_UPDATES), &lvI); - free(temp_str); + mir_free(temp_str); lvI.mask = LVIF_TEXT;// | LVIF_IMAGE; lvI.iSubItem = 1; //lvI.pszText = LPSTR_TEXTCALLBACK; //i->newVersion; - lvI.pszText = TranslateTS(temp_str = GetTString(((UpdateInternal *)lvI.lParam)->newVersion)); + lvI.pszText = (temp_str = GetTString(((UpdateInternal *)lvI.lParam)->newVersion)); ListView_SetItem(GetDlgItem(hwndDlg, IDC_LIST_UPDATES), &lvI); - free(temp_str); + mir_free(temp_str); lvI.iSubItem = 2; //lvI.pszText = LPSTR_TEXTCALLBACK; //i->newVersion; - lvI.pszText = TranslateTS(temp_str = GetTString((char *)((UpdateInternal *)lvI.lParam)->update.pbVersion)); + lvI.pszText = (temp_str = GetTString((char *)((UpdateInternal *)lvI.lParam)->update.pbVersion)); ListView_SetItem(GetDlgItem(hwndDlg, IDC_LIST_UPDATES), &lvI); - free(temp_str); + mir_free(temp_str); //MessageBox(0, i->newVersion, //"Version", MB_OK); //i->update.szComponentName, MB_OK); -- cgit v1.2.3