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:
Yan Pashkovsky 2016-04-16 22:15:44 +03:00 committed by Colomban Wendling
parent 1403d352b2
commit a5a47da9f2

View File

@ -630,7 +630,7 @@ static void cc_dlg_update_file_names(CreateClassDialog *cc_dlg)
{
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);
break;
}