From b2805409566af00bc15639494f5a186fbd2f16e6 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Fri, 9 Dec 2011 20:15:42 +0000 Subject: More indenting changes --- nGenEx/FontMgr.cpp | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'nGenEx/FontMgr.cpp') diff --git a/nGenEx/FontMgr.cpp b/nGenEx/FontMgr.cpp index e37b2b9..b648fa3 100644 --- a/nGenEx/FontMgr.cpp +++ b/nGenEx/FontMgr.cpp @@ -1,15 +1,15 @@ /* Project nGenEx - Destroyer Studios LLC - Copyright © 1997-2004. All Rights Reserved. + Destroyer Studios LLC + Copyright © 1997-2004. All Rights Reserved. - SUBSYSTEM: nGenEx.lib - FILE: FontMgr.cpp - AUTHOR: John DiCamillo + SUBSYSTEM: nGenEx.lib + FILE: FontMgr.cpp + AUTHOR: John DiCamillo - OVERVIEW - ======== - Font Resource Manager class implementation + OVERVIEW + ======== + Font Resource Manager class implementation */ #include "MemDebug.h" @@ -24,7 +24,7 @@ List FontMgr::fonts; void FontMgr::Close() { - fonts.destroy(); + fonts.destroy(); } // +--------------------------------------------------------------------+ @@ -32,15 +32,15 @@ FontMgr::Close() void FontMgr::Register(const char* name, Font* font) { - FontItem* item = new(__FILE__,__LINE__) FontItem; + FontItem* item = new(__FILE__,__LINE__) FontItem; - if (item) { - item->name = name; - item->size = 0; - item->font = font; + if (item) { + item->name = name; + item->size = 0; + item->font = font; - fonts.append(item); - } + fonts.append(item); + } } // +--------------------------------------------------------------------+ @@ -48,11 +48,11 @@ FontMgr::Register(const char* name, Font* font) Font* FontMgr::Find(const char* name) { - ListIter item = fonts; - while (++item) { - if (item->name == name) - return item->font; - } - - return 0; + ListIter item = fonts; + while (++item) { + if (item->name == name) + return item->font; + } + + return 0; } -- cgit v1.1