mrkite / minutor

Mapping for Minecraft
http://seancode.com/minutor
BSD 2-Clause "Simplified" License
278 stars 52 forks source link

drop strange invisible unicode characters #331

Closed Kolcha closed 2 years ago

Kolcha commented 2 years ago

compiler (GCC 12.2.0) produced warning about some "unmatched" strange Unicode characters on line with comment:

../minutor/identifier/biomeidentifier.cpp:134:57: warning: unpaired UTF-8 bidirectional control character detected [-Wbidi-chars=]
  134 |     // (below -0.1<U+00B0>C) <U+202D>4C.76.3C<U+202C> or <U+202D>6A.70.39 (above -0.1<U+00B0>C)
      |                                                          ~~~~~~~~                             ^
      |                                                          |                                    |
      |                                                          U+202D (LEFT-TO-RIGHT OVERRIDE)      end of bidirectional context

these invisible characters very likely were copied from some web page. I don't see any reason to keep them in source file and fix their usage, so just dropped them.