[AD] grabber.txt moved => bug

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Hi!  Here's a quick little patch for something I noticed while fiddling around with the 4.2b release.  The "grabber.txt" file used to be in the same directory as the executable, but this hasn't been the case for a while.  When accessing the uber-cool help system from grabber's menu, there is an error because grabber.txt isn't found.

So, the patch simply loads grabber.txt, presuming it to be in docs/txt.  Avoiding chdir would have been annoying; thank goodness for make_absolute_filname.

  - Grady

Attachment: grabber.diff
Description: grabber.diff



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/