[geany/geany] a5a47d: classbuilder: Use .hpp instead of .h for C++ header file extension

Yan Pashkovsky git-noreply at xxxxx
Fri Apr 29 22:06:51 UTC 2016


Branch:      refs/heads/master
Author:      Yan Pashkovsky <Yanpas at users.noreply.github.com>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Fri, 29 Apr 2016 22:06:51 UTC
Commit:      a5a47da9f29dcc329eac45176073c5c47c88df44
             https://github.com/geany/geany/commit/a5a47da9f29dcc329eac45176073c5c47c88df44

Log Message:
-----------
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.


Modified Paths:
--------------
    plugins/classbuilder.c

Modified: plugins/classbuilder.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -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;
 		}



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list