[GEM-cvs] Gem/src/Controls gemwin.cpp,1.29,1.30
Brought to you by:
zmoelnig
From: IOhannes m z. <zmo...@us...> - 2008-03-10 10:21:24
|
Update of /cvsroot/pd-gem/Gem/src/Controls In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3780/Controls Modified Files: gemwin.cpp Log Message: accepted Alan Norman's Crystal-Stereo patch Index: gemwin.cpp =================================================================== RCS file: /cvsroot/pd-gem/Gem/src/Controls/gemwin.cpp,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** gemwin.cpp 2 Jan 2008 16:10:29 -0000 1.29 --- gemwin.cpp 10 Mar 2008 10:21:27 -0000 1.30 *************** *** 576,583 **** { int mode = (int)state; ! if (mode<0 || mode>2){ ! GetMyClass(data)->error("possible stereo-modes are: 0, 1, 2"); return; } GemMan::m_stereo = mode; } --- 576,584 ---- { int mode = (int)state; ! if (mode<0 || mode>3){ ! GetMyClass(data)->error("possible stereo-modes are: 0, 1, 2, 3"); return; } + GemMan::m_stereo = mode; } |