From 523045f64f8a5071c724849e795426381dfeaa59 Mon Sep 17 00:00:00 2001 From: Bernard Teo Date: Fri, 16 Apr 2021 16:11:27 +0800 Subject: [PATCH] Harmonise comment at top of each file --- src/include/nfd.h | 5 ++--- src/include/nfd.hpp | 15 +++++++-------- src/nfd_cocoa.m | 7 ++++--- src/nfd_gtk.cpp | 9 +++++---- src/nfd_win.cpp | 5 ++--- 5 files changed, 20 insertions(+), 21 deletions(-) diff --git a/src/include/nfd.h b/src/include/nfd.h index 4b45b9f..b024394 100644 --- a/src/include/nfd.h +++ b/src/include/nfd.h @@ -1,9 +1,8 @@ /* Native File Dialog Extended - Author: Bernard Teo - License : Zlib Repository: https://github.com/btzy/nativefiledialog-extended - Based on https://github.com/mlabbe/nativefiledialog + License: Zlib + Authors: Bernard Teo, Michael Labbe This header contains the functions that can be called by user code. */ diff --git a/src/include/nfd.hpp b/src/include/nfd.hpp index 4293ed5..bbce108 100644 --- a/src/include/nfd.hpp +++ b/src/include/nfd.hpp @@ -1,14 +1,13 @@ /* -Native File Dialog Extended -Author: Bernard Teo -License : Zlib -Repository: https://github.com/btzy/nativefiledialog-extended -Based on https://github.com/mlabbe/nativefiledialog + Native File Dialog Extended + Repository: https://github.com/btzy/nativefiledialog-extended + License: Zlib + Author: Bernard Teo -This header is a thin C++ wrapper for nfd.h. -C++ projects can choose to use this header instead of nfd.h directly. + This header is a thin C++ wrapper for nfd.h. + C++ projects can choose to use this header instead of nfd.h directly. -Refer to documentation on nfd.h for instructions on how to use these functions. + Refer to documentation on nfd.h for instructions on how to use these functions. */ #ifndef _NFD_HPP diff --git a/src/nfd_cocoa.m b/src/nfd_cocoa.m index a03f080..41dbe96 100644 --- a/src/nfd_cocoa.m +++ b/src/nfd_cocoa.m @@ -1,7 +1,8 @@ /* - Native File Dialog - - http://www.frogtoss.com/labs + Native File Dialog Extended + Repository: https://github.com/btzy/nativefiledialog-extended + License: Zlib + Authors: Bernard Teo, Michael Labbe */ #include diff --git a/src/nfd_gtk.cpp b/src/nfd_gtk.cpp index 8744018..29d7dc0 100644 --- a/src/nfd_gtk.cpp +++ b/src/nfd_gtk.cpp @@ -1,9 +1,10 @@ /* - Native File Dialog + Native File Dialog Extended + Repository: https://github.com/btzy/nativefiledialog-extended + License: Zlib + Authors: Bernard Teo, Michael Labbe - http://www.frogtoss.com/labs - - We do not check for malloc failure on Linux - Linux overcommits memory! + Note: We do not check for malloc failure on Linux - Linux overcommits memory! */ #include diff --git a/src/nfd_win.cpp b/src/nfd_win.cpp index 10dd568..781ea98 100644 --- a/src/nfd_win.cpp +++ b/src/nfd_win.cpp @@ -1,9 +1,8 @@ /* Native File Dialog Extended - Author: Bernard Teo - License : Zlib Repository: https://github.com/btzy/nativefiledialog-extended - Based on https://github.com/mlabbe/nativefiledialog + License: Zlib + Author: Bernard Teo */ /* only locally define UNICODE in this compilation unit */