Re: search music fix

David Vrabel <[email protected]>
Newsgroups gmane.comp.audio.zinf.devel
Message-ID <[email protected]>
> if(di->native_file_string().c_str()[length - 1] != '.')
if(di->native_file_string()[length-1] != '.')

There's generally no need to c_str() std:string's unless you're passing 
them to old library functions.

David Vrabel



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.