From f84cfcdf2ab29e6268fb429ca22e331e2b8f36ca Mon Sep 17 00:00:00 2001 From: Gee Date: Mon, 25 Jul 2005 04:48:13 +0000 Subject: [PATCH] Added default to ("0 0 100% 100%") This was SVN commit r2543. --- source/gui/CGUI.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/gui/CGUI.cpp b/source/gui/CGUI.cpp index 22c4f37d78..a686fd28e7 100755 --- a/source/gui/CGUI.cpp +++ b/source/gui/CGUI.cpp @@ -1464,6 +1464,7 @@ void CGUI::Xeromyces_ReadImage(XMBElement Element, CXeromyces* pFile, CGUISprite // TODO Gee: (2004-08-30) This is not how to set defaults. CStr DefaultTextureSize ("0 0 100% 100%"); image.m_TextureSize = CClientArea(DefaultTextureSize); + image.m_Size = CClientArea(DefaultTextureSize); // TODO Gee: Setup defaults here (or maybe they are in the SGUIImage ctor)