[Scummvm-cvs-logs] scummvm master -> c087f917dda52ea72e200990e41b843767f0091d

lordhoto lordhoto at gmail.com
Tue Oct 25 04:49:36 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
c087f917dd GUI: Fix missing audio drivers in Edit Game dialog.


Commit: c087f917dda52ea72e200990e41b843767f0091d
    https://github.com/scummvm/scummvm/commit/c087f917dda52ea72e200990e41b843767f0091d
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2011-10-24T11:43:10-07:00

Commit Message:
GUI: Fix missing audio drivers in Edit Game dialog.

This is a regression from 77c65648b1db8f8b7b245510681eafd856798d26.

Formerly the code used strtok to check for any audio related GUIO flag to be
present in _guioptions. Since strtok tokenizes the string this won't really
work. I changed it to use strpbrk, which searches a string for any character
from a set of characters (in our case flags). The code should now have the
same semantics as of before the above mentioned commit.

This also gets rid of copying the gui options into a char array and a strncpy
call.

Changed paths:
    gui/options.cpp








More information about the Scummvm-git-logs mailing list