ide: Mac OSX11 patches (thanks arilect)

git-svn-id: svn://ultimatepp.org/upp/trunk@3950 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2011-10-03 18:45:03 +00:00
parent bc43e9edf8
commit 2c4b66c5d2
4 changed files with 7 additions and 4 deletions

View file

@ -23,7 +23,8 @@ void IdeFileIcon0(bool dir, const String& filename, Image& img)
img = IdeCommonImg::Language();
if(ext == ".icpp")
img = IdeCommonImg::ISource();
if(ext == ".c" || ext == ".cpp" || ext == ".cc" || ext == ".cxx")
if(ext == ".c" || ext == ".cpp" || ext == ".cc" || ext == ".cxx"
|| ext == ".m" || ext == ".mm") //should later have diff img?
img = IdeCommonImg::Source();
if(ext == ".sch")
img = IdeCommonImg::Sch();