Commit Graph
17 Commits
Author SHA1 Message Date
Glenn Maynard 9c2d06e150 string::find() result is a size_t, not an int
unwrap conditional
return after error, or the output string will just be overwritten
2004-11-26 20:48:06 +00:00
Glenn Maynard 4d98c72902 m_iResponceName -> m_sResponseName
CString::find and CString::Find are not interchangeable; Find() is only
for compatibility, prefer find()
2004-11-26 20:45:26 +00:00
Glenn Maynard 5a51991740 find does not return < 0
reponce -> response
2004-11-26 20:43:47 +00:00
Glenn Maynard be93eb845d scope/style cleanup
if ReadData returns -1, be sure to not append(-1)
2004-11-26 20:41:13 +00:00
Glenn Maynard 41d6f9ad2c m_iResponceCode -> m_iResponseCode 2004-11-26 20:37:59 +00:00
Glenn Maynard 82d76ea224 more style cleanups 2004-11-26 20:37:32 +00:00
Glenn Maynard 2c566f6391 Cleanup: instead of
func
{
  if( x )
  {
   three pages of code
  }
}

do
func
{
  if( !x )
    return;
  three pages of code;
}

which reduces the indentation level and is easier to understand.
2004-11-26 20:36:23 +00:00
Glenn Maynard cf54c6fea7 join all
"headder" -> header
2004-11-26 20:33:46 +00:00
Glenn Maynard 9e46888c7d Style cleanups: don't overparenthesize, if( x ), not if ( x ) 2004-11-26 20:18:23 +00:00
Glenn Maynard 25d12ee6a4 fix warning 2004-11-26 20:15:50 +00:00
Charles Lohr a012b208c1 Fix: Don't use ITOA 2004-11-26 18:39:43 +00:00
Chris Danford a862f62b4f minor cleanup 2004-11-26 17:37:09 +00:00
Chris Danford 7f336c2ce6 self-registering screen classes 2004-11-26 17:28:47 +00:00
Charles Lohr b333841085 OOps, maybe the work around will work this time around. 2004-11-26 16:17:01 +00:00
Charles Lohr 7963914c37 Fix: GCC include, enum type, a work around, and a minor fix. 2004-11-26 15:55:34 +00:00
Ryan Dortmans 1f52adc59f Xbox: Reset virtual keyboard before taking input 2004-11-26 14:38:35 +00:00
Charles Lohr f84df92e13 Add: ScreenPackages 2004-11-26 07:20:03 +00:00