diff --git a/rosapps/dflat32/search.c b/rosapps/dflat32/search.c index eb35b98e8d2..9e5f1b475d6 100644 --- a/rosapps/dflat32/search.c +++ b/rosapps/dflat32/search.c @@ -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; diff --git a/rosapps/dflat32/watch.c b/rosapps/dflat32/watch.c index 6da6f73e95a..c4d882aa0c8 100644 --- a/rosapps/dflat32/watch.c +++ b/rosapps/dflat32/watch.c @@ -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,