summaryrefslogtreecommitdiff
path: root/src/modules/fonts/services.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-11-16 10:00:53 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-11-16 10:00:53 +0000
commitf73bb32927a080c6332c1cdc82d8f9b3bade8480 (patch)
tree6c5019c3a3b3c2d5ab51458ba64e7a98bde552c1 /src/modules/fonts/services.cpp
parent6702b225a17d5aaf1102ba401c879cc70c7cc061 (diff)
tabs and spaces cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@2329 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/fonts/services.cpp')
-rw-r--r--src/modules/fonts/services.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/fonts/services.cpp b/src/modules/fonts/services.cpp
index 35f5c5a321..7ec7d0397b 100644
--- a/src/modules/fonts/services.cpp
+++ b/src/modules/fonts/services.cpp
@@ -54,7 +54,7 @@ bool ConvertFontID(FontID *fid, FontIDW* fidw)
MultiByteToWideChar(code_page, 0, fid->group, -1, fidw->group, 64);
MultiByteToWideChar(code_page, 0, fid->name, -1, fidw->name, 64);
-
+
if (fid->cbSize > FontID_OLDSIZE) {
MultiByteToWideChar(code_page, 0, fid->backgroundGroup, -1, fidw->backgroundGroup, 64);
MultiByteToWideChar(code_page, 0, fid->backgroundName, -1, fidw->backgroundName, 64);
@@ -158,7 +158,6 @@ int GetFontSettingFromDB(char *settings_group, char *prefix, LOGFONT* lf, COLORR
mir_snprintf(idstr, SIZEOF(idstr), "%sSize", prefix);
lf->lfHeight = (char)db_get_b(NULL, settings_group, idstr, lf->lfHeight);
-
//wsprintf(idstr, "%sFlags", prefix);
//if (db_get_dw(NULL, settings_group, idstr, 0) & FIDF_SAVEACTUALHEIGHT) {
// HDC hdc = GetDC(0);
@@ -297,7 +296,7 @@ static int sttRegisterFontWorker(FontIDW* font_id, int hLangpack)
char idstr[256];
mir_snprintf(idstr, SIZEOF(idstr), "%sFlags", font_id->prefix);
db_set_dw(0, font_id->dbSettingsGroup, idstr, font_id->flags);
-
+
FontInternal* newItem = new FontInternal;
memset(newItem, 0, sizeof(FontInternal));
memcpy(newItem, font_id, font_id->cbSize);
@@ -518,7 +517,8 @@ static INT_PTR sttGetEffectWorker(EffectIDW* effect_id, FONTEFFECT* effect)
effect->baseColour = temp.baseColour;
effect->secondaryColour = temp.secondaryColour;
return TRUE;
- } }
+ }
+ }
return FALSE;
}