[FIXED] al_version bug?

Started by pjohnsen, March 26, 2011, 15:44:27

Previous topic - Next topic

pjohnsen

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

kappa

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.

pjohnsen

Great, thanks.

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