classbuilder: Use .hpp instead of .h for C++ header file extension
.hpp is a C++-specific extension avoiding any confusion, and better supported as C++ out of the box by Geany. Closes #999.
This commit is contained in:
parent
1403d352b2
commit
a5a47da9f2
@ -630,7 +630,7 @@ static void cc_dlg_update_file_names(CreateClassDialog *cc_dlg)
|
|||||||
{
|
{
|
||||||
case GEANY_CLASS_TYPE_CPP:
|
case GEANY_CLASS_TYPE_CPP:
|
||||||
{
|
{
|
||||||
class_header = g_strconcat(class_name_down, ".h", NULL);
|
class_header = g_strconcat(class_name_down, ".hpp", NULL);
|
||||||
class_source = g_strconcat(class_name_down, ".cpp", NULL);
|
class_source = g_strconcat(class_name_down, ".cpp", NULL);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user