LWJGL
May 19, 2013, 23:08:21 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL is now using GitHub
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: [FIXED] al_version bug?  (Read 1525 times)
pjohnsen
Newbie
*
Posts: 44


« on: March 26, 2011, 08:44:27 »

After having trouble getting al_version working I looked in the source code for AppletLoader and found this (line 735):
Code:
734                                         // compare to new version
735                                         if (latestVersion != readVersionFile(versionFile)) {
736                                                 versionAvailable = true;
737                                                 percentage = 90;
738
739                                                 if(debugMode) {
740                                                         System.out.println("Loading Cached Applet Version " + latestVersion);
741                                                 }
742                                                 debug_sleep(2000);
743                                         }

Shouldn't that be: latestVersion == readVersionFile(versionFile) ?

 -pjoe
Logged
kappa
Administrator
Nerdus Imperius
*****
Posts: 1111



« Reply #1 on: March 26, 2011, 08:58:40 »

Well spotted, this is indeed a bug in the AppletLoader and has now been fixed in svn. Should be part of the next nightly build and lwjgl release.

Thanks for that.
Logged
pjohnsen
Newbie
*
Posts: 44


« Reply #2 on: March 26, 2011, 09:31:17 »

Great, thanks.

The current behavior was driving me a bit crazy, until I looked in the source Grin
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!