LWJGL Forum

Archive => Resolved Bugs/RFE => Topic started by: pjohnsen on March 26, 2011, 15:44:27

Title: [FIXED] al_version bug?
Post by: pjohnsen on March 26, 2011, 15:44:27
After having trouble getting al_version working I looked in the source code for AppletLoader and found this (line 735):

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
Title: Re: al_version bug?
Post by: kappa on March 26, 2011, 15: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.
Title: Re: [FIXED] al_version bug?
Post by: pjohnsen on March 26, 2011, 16:31:17
Great, thanks.

The current behavior was driving me a bit crazy, until I looked in the source ;D