Bug 720691 - Code coloring in case of file without extension

Correction for empty / non-empty string, code had been interchanged