We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b4ea78 commit bf77fd3Copy full SHA for bf77fd3
1 file changed
Utilities/WaveFrontReader.h
@@ -45,8 +45,8 @@
45
#endif
46
47
#include <algorithm>
48
-#include <cctype>
49
#include <cstdint>
+#include <cwctype>
50
#include <fstream>
51
#include <locale>
52
#include <string>
@@ -377,7 +377,7 @@ namespace DX
377
materials.emplace_back(mat);
378
}
379
380
- else if (!std::isprint(*strCommand.c_str()))
+ else if (!std::iswprint(*strCommand.c_str()))
381
{
382
// non-printable characters outside of comments mean this is not a text file
383
return E_FAIL;
@@ -484,7 +484,7 @@ namespace DX
484
485
486
487
488
489
490
0 commit comments