Kaydet (Commit) da3fe983 authored tarafından Enrico Tröger's avatar Enrico Tröger

added .C as extension for filetype C++


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@124 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 46690c0b
......@@ -64,7 +64,8 @@ void filetypes_init_types(void)
filetypes[GEANY_FILETYPES_CPP]->pattern[4] = g_strdup("*.hpp");
filetypes[GEANY_FILETYPES_CPP]->pattern[5] = g_strdup("*.hxx");
filetypes[GEANY_FILETYPES_CPP]->pattern[6] = g_strdup("*.hh");
filetypes[GEANY_FILETYPES_CPP]->pattern[7] = NULL;
filetypes[GEANY_FILETYPES_CPP]->pattern[7] = g_strdup("*.C");
filetypes[GEANY_FILETYPES_CPP]->pattern[8] = NULL;
filetypes[GEANY_FILETYPES_CPP]->style_func_ptr = styleset_c;
filetypes_create_menu_item(filetype_menu, filetypes[GEANY_FILETYPES_CPP]->title, filetypes[GEANY_FILETYPES_CPP]);
filetypes_create_newmenu_item(template_menu, filetypes[GEANY_FILETYPES_CPP]->title, filetypes[GEANY_FILETYPES_CPP]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment