mirror of https://github.com/fltk/fltk
Added initializers to WIN32 version of XParseGeometry.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1184 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
76e434bd57
commit
7a17c343cc
|
@ -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 $".
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue