]> sigrok.org Git - pulseview.git/blobdiff - pv/strnatcmp.hpp
Trace: Removed coloured_bg state
[pulseview.git] / pv / strnatcmp.hpp
index 0295a5c520f56b5a0df1269ae53c18a361468648..eaa73608e956aedadc198bd05b51b42a3a4eb400 100644 (file)
@@ -27,8 +27,8 @@
 #ifndef PULSEVIEW_PV_STRNATCMP_HPP
 #define PULSEVIEW_PV_STRNATCMP_HPP
 
-#include <cstddef>     /* size_t */
 #include <cctype>
+#include <cstddef>     /* size_t */
 #include <string>
 
 using std::string;
@@ -89,7 +89,7 @@ static int strnatcmp0(char const *a, char const *b, int fold_case)
 
        ai = bi = 0;
 
-       while (1) {
+       while (true) {
                ca = a[ai];
                cb = b[bi];