[Fxruby-commits] CVS: FXRuby/ext/fox core_wrap.cpp,1.62.2.20,1.62.2.21
Status: Inactive
Brought to you by:
lyle
From: Lyle J. <ly...@us...> - 2002-06-20 17:27:10
|
Update of /cvsroot/fxruby/FXRuby/ext/fox In directory usw-pr-cvs1:/tmp/cvs-serv12648 Modified Files: Tag: release10 core_wrap.cpp Log Message: Index: core_wrap.cpp =================================================================== RCS file: /cvsroot/fxruby/FXRuby/ext/fox/core_wrap.cpp,v retrieving revision 1.62.2.20 retrieving revision 1.62.2.21 diff -C2 -d -r1.62.2.20 -r1.62.2.21 *** core_wrap.cpp 20 Jun 2002 14:04:47 -0000 1.62.2.20 --- core_wrap.cpp 20 Jun 2002 17:26:48 -0000 1.62.2.21 *************** *** 12563,12568 **** else if (argc == 2) return _wrap_new_FX_DCWindow_2(argc, argv, self); ! else rb_raise(rb_eArgError, "wrong # of arguments"); } --- 12563,12570 ---- else if (argc == 2) return _wrap_new_FX_DCWindow_2(argc, argv, self); ! else { rb_raise(rb_eArgError, "wrong # of arguments"); + return Qnil; + } } *************** *** 12646,12651 **** else if (argc == 2) return _wrap_new_FXDCWindow_2(argc, argv, self); ! else rb_raise(rb_eArgError, "wrong # of arguments"); } --- 12648,12655 ---- else if (argc == 2) return _wrap_new_FXDCWindow_2(argc, argv, self); ! else { rb_raise(rb_eArgError, "wrong # of arguments"); + return Qnil; + } } |