From 6cd8cc0b3461df48269fac24aad474154fb040b2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 15 Nov 2012 17:29:09 +0000 Subject: include: tabs over spaces git-svn-id: http://svn.miranda-ng.org/main/trunk@2317 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_database.h | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'include/m_database.h') diff --git a/include/m_database.h b/include/m_database.h index b16327effd..dcb067405a 100644 --- a/include/m_database.h +++ b/include/m_database.h @@ -505,18 +505,21 @@ typedef struct { #define MS_DB_EVENT_GETTEXT "DB/Event/GetText" __forceinline char* DbGetEventTextA(DBEVENTINFO* dbei, int codepage) -{ DBEVENTGETTEXT temp = { dbei, DBVT_ASCIIZ, codepage }; - return (char*)CallService(MS_DB_EVENT_GETTEXT, 0, (LPARAM)&temp); +{ + DBEVENTGETTEXT temp = { dbei, DBVT_ASCIIZ, codepage }; + return (char*)CallService(MS_DB_EVENT_GETTEXT, 0, (LPARAM)&temp); } __forceinline WCHAR* DbGetEventTextW(DBEVENTINFO* dbei, int codepage) -{ DBEVENTGETTEXT temp = { dbei, DBVT_WCHAR, codepage }; - return (WCHAR*)CallService(MS_DB_EVENT_GETTEXT, 0, (LPARAM)&temp); +{ + DBEVENTGETTEXT temp = { dbei, DBVT_WCHAR, codepage }; + return (WCHAR*)CallService(MS_DB_EVENT_GETTEXT, 0, (LPARAM)&temp); } __forceinline TCHAR* DbGetEventTextT(DBEVENTINFO* dbei, int codepage) -{ DBEVENTGETTEXT temp = { dbei, DBVT_TCHAR, codepage }; - return (TCHAR*)CallService(MS_DB_EVENT_GETTEXT, 0, (LPARAM)&temp); +{ + DBEVENTGETTEXT temp = { dbei, DBVT_TCHAR, codepage }; + return (TCHAR*)CallService(MS_DB_EVENT_GETTEXT, 0, (LPARAM)&temp); } /* DB/Event/GetIcon (0.7.0.1+) @@ -547,7 +550,7 @@ Caller must free the result using mir_free __forceinline TCHAR* DbGetEventStringT(DBEVENTINFO* dbei, const char* str) { - return (TCHAR*)CallService(MS_DB_EVENT_GETSTRINGT, (WPARAM)dbei, (LPARAM)str); + return (TCHAR*)CallService(MS_DB_EVENT_GETSTRINGT, (WPARAM)dbei, (LPARAM)str); } /* DB/Event/MarkRead -- cgit v1.2.3