summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2000-06-08 12:30:36 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2000-06-08 12:30:36 +0000
commit7a17c343cc2a83b5d0aa68d3484478c22f58218a (patch)
tree14374624043858397ec99a1b367bb846ab28a755
parent76e434bd57ccc51bb7758f46169d6fb50b5ca4b0 (diff)
Added initializers to WIN32 version of XParseGeometry.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1184 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/Fl_arg.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_arg.cxx b/src/Fl_arg.cxx
index 04a78d28f..9a79bcbdb 100644
--- a/src/Fl_arg.cxx
+++ b/src/Fl_arg.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_arg.cxx,v 1.5.2.4 2000/06/05 21:21:00 mike Exp $"
+// "$Id: Fl_arg.cxx,v 1.5.2.5 2000/06/08 12:30:36 mike Exp $"
//
// Optional argument initialization code for the Fast Light Tool Kit (FLTK).
//
@@ -270,8 +270,8 @@ int XParseGeometry(const char* string, int* x, int* y,
{
int mask = NoValue;
register char *strind;
- unsigned int tempWidth, tempHeight;
- int tempX, tempY;
+ unsigned int tempWidth = 0, tempHeight = 0;
+ int tempX = 0, tempY = 0;
char *nextCharacter;
if ( (string == NULL) || (*string == '\0')) return(mask);
@@ -352,5 +352,5 @@ int XParseGeometry(const char* string, int* x, int* y,
#endif // ifdef WIN32
//
-// End of "$Id: Fl_arg.cxx,v 1.5.2.4 2000/06/05 21:21:00 mike Exp $".
+// End of "$Id: Fl_arg.cxx,v 1.5.2.5 2000/06/08 12:30:36 mike Exp $".
//