[Fxruby-commits] CVS: FXRuby/ext/fox/patches wrap_new_FXDCWindow.cpp,1.3.2.1,1.3.2.2 wrap_new_FX_DCW
Status: Inactive
Brought to you by:
lyle
From: Lyle J. <ly...@us...> - 2002-06-20 17:06:59
|
Update of /cvsroot/fxruby/FXRuby/ext/fox/patches In directory usw-pr-cvs1:/tmp/cvs-serv6785 Modified Files: Tag: release10 wrap_new_FXDCWindow.cpp wrap_new_FX_DCWindow.cpp Log Message: Index: wrap_new_FXDCWindow.cpp =================================================================== RCS file: /cvsroot/fxruby/FXRuby/ext/fox/patches/Attic/wrap_new_FXDCWindow.cpp,v retrieving revision 1.3.2.1 retrieving revision 1.3.2.2 diff -C2 -d -r1.3.2.1 -r1.3.2.2 *** wrap_new_FXDCWindow.cpp 29 May 2002 16:51:06 -0000 1.3.2.1 --- wrap_new_FXDCWindow.cpp 20 Jun 2002 17:06:56 -0000 1.3.2.2 *************** *** 36,40 **** else if (argc == 2) return _wrap_new_FXDCWindow_2(argc, argv, self); ! else rb_raise(rb_eArgError, "wrong # of arguments"); } --- 36,42 ---- else if (argc == 2) return _wrap_new_FXDCWindow_2(argc, argv, self); ! else { rb_raise(rb_eArgError, "wrong # of arguments"); + return Qnil; + } } Index: wrap_new_FX_DCWindow.cpp =================================================================== RCS file: /cvsroot/fxruby/FXRuby/ext/fox/patches/Attic/wrap_new_FX_DCWindow.cpp,v retrieving revision 1.3.2.1 retrieving revision 1.3.2.2 diff -C2 -d -r1.3.2.1 -r1.3.2.2 *** wrap_new_FX_DCWindow.cpp 29 May 2002 16:51:06 -0000 1.3.2.1 --- wrap_new_FX_DCWindow.cpp 20 Jun 2002 17:06:56 -0000 1.3.2.2 *************** *** 36,40 **** else if (argc == 2) return _wrap_new_FX_DCWindow_2(argc, argv, self); ! else rb_raise(rb_eArgError, "wrong # of arguments"); } --- 36,42 ---- else if (argc == 2) return _wrap_new_FX_DCWindow_2(argc, argv, self); ! else { rb_raise(rb_eArgError, "wrong # of arguments"); + return Qnil; + } } |