mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-10 12:01:10 +00:00
Fix string comparison fail for key "model"
This commit is contained in:
parent
23010c89bc
commit
c064a1c0a4
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ virtual void addType( const char* key, filetype_t type ){
|
||||||
virtual void getTypeList( const char* key, IFileTypeList* typelist ){
|
virtual void getTypeList( const char* key, IFileTypeList* typelist ){
|
||||||
filetype_list_t& list_ref = m_typelists[key];
|
filetype_list_t& list_ref = m_typelists[key];
|
||||||
|
|
||||||
if (key == "model") {
|
if ( g_strcmp0( key, "model" ) == 0 ) {
|
||||||
// Get the list of all supported types (adapted from kaz)
|
// Get the list of all supported types (adapted from kaz)
|
||||||
CString allTypesFilter;
|
CString allTypesFilter;
|
||||||
for (unsigned int i = 0; i < list_ref.size(); ++i) {
|
for (unsigned int i = 0; i < list_ref.size(); ++i) {
|
||||||
|
|
Loading…
Reference in a new issue