diff options
author | Johannes Schickel | 2011-10-24 20:29:28 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-10-24 20:43:10 +0200 |
commit | c087f917dda52ea72e200990e41b843767f0091d (patch) | |
tree | 7bb5483c6ee827652a02868e27d63f775d2e90f7 /backends/fs/abstract-fs.cpp | |
parent | 97207dcbe36df803fe8f3f497f32ba1c0f69a086 (diff) | |
download | scummvm-rg350-c087f917dda52ea72e200990e41b843767f0091d.tar.gz scummvm-rg350-c087f917dda52ea72e200990e41b843767f0091d.tar.bz2 scummvm-rg350-c087f917dda52ea72e200990e41b843767f0091d.zip |
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.
Diffstat (limited to 'backends/fs/abstract-fs.cpp')
0 files changed, 0 insertions, 0 deletions