Fix release build of dflat32, initalizing some vars and fixing one typo.

svn path=/trunk/; revision=17885
This commit is contained in:
Andrew Munger 2005-09-16 18:00:49 +00:00
parent 0dee5251b9
commit e03998d67c
2 changed files with 3 additions and 2 deletions

View file

@ -47,7 +47,8 @@ static void replacetext(DFWINDOW wnd, char *cp1, DF_DBOX *db)
/* ------- search for the occurrance of a string ------- */
static void SearchTextBox(DFWINDOW wnd, int incr)
{
char *s1 = NULL, *s2, *cp1;
char *s1 , *s2, *cp1;
s1 = s2 = cp1 = NULL;
DF_DBOX *db = Replacing ? &ReplaceTextDB : &SearchTextDB;
char *cp = DfGetEditBoxText(db, DF_ID_SEARCHFOR);
BOOL rpl = TRUE, FoundOne = FALSE;

View file

@ -44,7 +44,7 @@ DFWINDOW DfWatchIcon(void)
// (DF_PARAM) &mx, (DF_PARAM) &my);
mx = 0;//DF_SCREENWIDTH / 2;
mx = 0;//DF_SCREENHEIGHT / 2;
my = 0;//DF_SCREENHEIGHT / 2;
wnd = DfDfCreateWindow(
DF_BOX,
NULL,