[sword-cvs] sword/apps/windoze/CBuilder5/BibleCS mainfrm.cpp,1.111,1.112
sword@www.crosswire.org
sword@www.crosswire.org
Sun, 30 Mar 2003 17:14:16 -0700
Update of /usr/local/cvsroot/sword/apps/windoze/CBuilder5/BibleCS
In directory www:/tmp/cvs-serv4078/apps/windoze/CBuilder5/BibleCS
Modified Files:
mainfrm.cpp
Log Message:
no message
Index: mainfrm.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/apps/windoze/CBuilder5/BibleCS/mainfrm.cpp,v
retrieving revision 1.111
retrieving revision 1.112
diff -C2 -d -r1.111 -r1.112
*** mainfrm.cpp 30 Mar 2003 23:19:20 -0000 1.111
--- mainfrm.cpp 31 Mar 2003 00:14:13 -0000 1.112
***************
*** 715,721 ****
TFont *UIFont = new TFont();
! UIFont->Name = optionsconf->Sections["Appearance"]["UIFontName"].c_str();
! try {UIFont->Color = StrToInt(optionsconf->Sections["Appearance"]["UIFontColor"].c_str());} catch (...) {}
! try {UIFont->Size = StrToInt(optionsconf->Sections["Appearance"]["UIFontSize"].c_str());} catch (...) {}
// MainForm
File1->Caption = _tr("&File");
--- 715,726 ----
TFont *UIFont = new TFont();
! UIFont->Name = optionsconf->Sections["Appearance"]["UIFontName"].c_str();
!
! tmp = optionsconf->Sections["Appearance"]["UIFontColor"].c_str();
! if (tmp.Length() > 0)
! UIFont->Color = StrToInt(tmp);
! tmp = optionsconf->Sections["Appearance"]["UIFontSize"].c_str();
! if (tmp.Length() > 0)
! UIFont->Size = StrToInt(tmp);
// MainForm
File1->Caption = _tr("&File");