lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 9c348d06 5/8: Avoid using _this_ style for em


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 9c348d06 5/8: Avoid using _this_ style for emphasis
Date: Thu, 19 May 2022 13:29:01 -0400 (EDT)

branch: master
commit 9c348d06de4453dbf81e101e0ab3f7a2bf1ed2c4
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Avoid using _this_ style for emphasis
    
    '_This_' is a reserved identifier.
---
 interpolate_string.hpp | 2 +-
 main_cgi.cpp           | 2 +-
 multidimgrid_any.cpp   | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/interpolate_string.hpp b/interpolate_string.hpp
index f0e25af1..6d63d2c6 100644
--- a/interpolate_string.hpp
+++ b/interpolate_string.hpp
@@ -51,7 +51,7 @@ using lookup_function
 ///  - Partials support, i.e. {{>filename}}.
 ///  - Comments of the form {{!this is ignored}}.
 ///
-/// The following features are explicitly _not_ supported:
+/// The following features are explicitly *not* supported:
 ///  - HTML escaping: this is done by a separate html::text class.
 ///  - Separate types: 0/1 is false/true, anything else is an error.
 ///  - Lists/section iteration (not needed yet).
diff --git a/main_cgi.cpp b/main_cgi.cpp
index 4b9e42fa..efa11d12 100644
--- a/main_cgi.cpp
+++ b/main_cgi.cpp
@@ -72,7 +72,7 @@
 #  include <sys/time.h>
 #endif // defined HAVE_SYS_TIME_H && HAVE_SYS_TIME_H
 
-// To use logging, the variable gLogFile MUST be defined, and it _must_
+// To use logging, the variable gLogFile MUST be defined, and it *must*
 // be an ofstream.
 std::ofstream gLogFile;
 
diff --git a/multidimgrid_any.cpp b/multidimgrid_any.cpp
index 6f59ff46..4a7e53ab 100644
--- a/multidimgrid_any.cpp
+++ b/multidimgrid_any.cpp
@@ -301,7 +301,7 @@ MultiDimGrid::~MultiDimGrid()
     // to (wxGridTableBase*)this and it might call it, which would result in
     // an undefined behavior.
     // The alternative is to rearrange the order of base classes of 
MultiDimGrid
-    // so that wxGridTableBase part is destroyed _after_ wxPanel base.
+    // so that wxGridTableBase part is destroyed *after* wxPanel base.
     // But it is not a good idea to depend on the base classes order,
     // especially when a change would lead to non-obvious crashes.
     grid().SetTable(nullptr);
@@ -465,7 +465,7 @@ void MultiDimGrid::DoRefreshTableData()
     // Automatically adjust the width of the column of row labels.
     //
     // Note that there's no point in doing the same for columns using
-    // SetColLabelSize(), because that would only affect _height_ of
+    // SetColLabelSize(), because that would only affect *height* of
     // columns labels, but we need to adjust their width.
     grid().SetRowLabelSize(wxGRID_AUTOSIZE);
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]