[Plib-cvs] plib/src/js jsWindows.cxx,1.3,1.4
Brought to you by:
sjbaker
From: Eric L. <smo...@us...> - 2004-08-15 15:08:33
|
Update of /cvsroot/plib/plib/src/js In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1880 Modified Files: jsWindows.cxx Log Message: John Fay's fixes for some windows-only compile errors. Index: jsWindows.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/js/jsWindows.cxx,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- jsWindows.cxx 15 Aug 2004 00:12:32 -0000 1.3 +++ jsWindows.cxx 15 Aug 2004 15:08:24 -0000 1.4 @@ -41,7 +41,7 @@ // Inspired by // http://msdn.microsoft.com/archive/en-us/dnargame/html/msdn_sidewind3d.asp -static bool getOEMProductName ( jsJoystick* joy, char *buf, int buf_sz ) +bool os_specific_s::getOEMProductName ( jsJoystick* joy, char *buf, int buf_sz ) { if ( joy->error ) return false ; @@ -116,7 +116,7 @@ { // Device name from jsCaps is often "Microsoft PC-joystick driver", // at least for USB. Try to get the real name from the registry. - if ( ! getOEMProductName ( this, name, sizeof(name) ) ) + if ( ! os->getOEMProductName ( this, name, sizeof(name) ) ) { ulSetError ( UL_WARNING, "JS: Failed to read joystick name from registry" ) ; |