From 56984a95c2514df3a96849d790a3e1bc5b3de52a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 8 Jun 2012 21:40:43 +0000 Subject: TopToolButton -> Unicode (any miracles are possible) git-svn-id: http://svn.miranda-ng.org/main/trunk@366 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TopToolBar/separators.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/TopToolBar/separators.cpp') diff --git a/plugins/TopToolBar/separators.cpp b/plugins/TopToolBar/separators.cpp index 28cd67857e..ae122b1b71 100644 --- a/plugins/TopToolBar/separators.cpp +++ b/plugins/TopToolBar/separators.cpp @@ -13,7 +13,7 @@ int InsertSeparator(int id) HBITMAP Separator = LoadBitmap(hInst, MAKEINTRESOURCE(IDB_SEP)); char buf[255]; - wsprintf(buf, "%s %d", Translate("Separator"), id); + wsprintfA(buf, "%s %d", Translate("Separator"), id); TTBButton ttb = { 0 }; ttb.cbSize = sizeof(ttb); @@ -57,7 +57,7 @@ int LoadAllSeparators() _itoa(i, buf1, 10); int id = DBGetContactSettingWord(0, TTB_OPTDIR, AS(buf, "Sep", buf1), -1); - if (id == i) + if (id == i) Separators[i] = InsertSeparator(i); } return 0; @@ -86,7 +86,7 @@ INT_PTR InsertNewFreeSeparator(WPARAM wParam, LPARAM lParam) { if (SeparatorCnt < MAXSEPS) { for (int i = 0; i < MAXSEPS; i++) { - if (Separators[i] == 0) { + if (Separators[i] == 0) { Separators[i] = InsertSeparator(i); SaveAllSeparators(); return 0; -- cgit v1.2.3