Fix release build of dflat32, initalizing some vars and fixing one typo.
Modified: trunk/rosapps/dflat32/search.c
Modified: trunk/rosapps/dflat32/watch.c
_____
Modified: trunk/rosapps/dflat32/search.c
--- trunk/rosapps/dflat32/search.c 2005-09-16 17:53:40 UTC (rev
17884)
+++ trunk/rosapps/dflat32/search.c 2005-09-16 18:00:49 UTC (rev
17885)
@@ -47,7 +47,8 @@
/* ------- 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;
_____
Modified: trunk/rosapps/dflat32/watch.c
--- trunk/rosapps/dflat32/watch.c 2005-09-16 17:53:40 UTC (rev
17884)
+++ trunk/rosapps/dflat32/watch.c 2005-09-16 18:00:49 UTC (rev
17885)
@@ -44,7 +44,7 @@
// (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,
Show replies by date