diff options
author | FWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2011-12-09 20:15:42 +0000 |
---|---|---|
committer | FWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2011-12-09 20:15:42 +0000 |
commit | b2805409566af00bc15639494f5a186fbd2f16e6 (patch) | |
tree | 78f87818bd262e59929d77b53f068f9120f9620f /nGenEx/FontMgr.cpp | |
parent | fb436f697f21dfdf2d8fc8293bab82b998a353d1 (diff) | |
download | starshatter-b2805409566af00bc15639494f5a186fbd2f16e6.zip starshatter-b2805409566af00bc15639494f5a186fbd2f16e6.tar.gz starshatter-b2805409566af00bc15639494f5a186fbd2f16e6.tar.bz2 |
More indenting changes
Diffstat (limited to 'nGenEx/FontMgr.cpp')
-rw-r--r-- | nGenEx/FontMgr.cpp | 46 |
1 files changed, 23 insertions, 23 deletions
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<FontItem> 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<FontItem> item = fonts;
- while (++item) {
- if (item->name == name)
- return item->font;
- }
-
- return 0;
+ ListIter<FontItem> item = fonts;
+ while (++item) {
+ if (item->name == name)
+ return item->font;
+ }
+
+ return 0;
}
|