DavidGriffith / frotz

Infocom-style interactive fiction player for Unix and DOS (moved to https://gitlab.com/DavidGriffith/frotz)
GNU General Public License v2.0
209 stars 64 forks source link

Replace rindex() with strrchr() #20

Closed fornwall closed 8 years ago

fornwall commented 8 years ago

This fixes compilation on Android, and should be a general improvement since rindex() is deprecated.

http://pubs.opengroup.org/onlinepubs/009695399/functions/rindex.html