aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2022-05-23 09:52:24 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2022-05-23 09:52:24 +0000
commit43f9f2c86ae89d8285ff6fcd441b0395a292d0c1 (patch)
treec701eee01584920e51413691003e044f3940458f /editors
parent5b83ee285bf3a1de654c435fdb3186294db3c58b (diff)
downloadports-43f9f2c86ae89d8285ff6fcd441b0395a292d0c1.tar.gz
ports-43f9f2c86ae89d8285ff6fcd441b0395a292d0c1.zip
editors/wxhexeditor: fix the port's build on ARM
Mixing different types in ternary expression is a bad idea. PR: 264007
Diffstat (limited to 'editors')
-rw-r--r--editors/wxhexeditor/files/patch-src_HexEditorCtrl_wxHexCtrl_wxHexCtrl.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/editors/wxhexeditor/files/patch-src_HexEditorCtrl_wxHexCtrl_wxHexCtrl.cpp b/editors/wxhexeditor/files/patch-src_HexEditorCtrl_wxHexCtrl_wxHexCtrl.cpp
index 1fa7cc741a07..9ad2e050dbc0 100644
--- a/editors/wxhexeditor/files/patch-src_HexEditorCtrl_wxHexCtrl_wxHexCtrl.cpp
+++ b/editors/wxhexeditor/files/patch-src_HexEditorCtrl_wxHexCtrl_wxHexCtrl.cpp
@@ -18,3 +18,12 @@
chrC |= atoh( chr );
//chrC = (atoh( RenderedHexByte.ToAscii()[0] ) << 4) | atoh( RenderedHexByte.ToAscii()[1] );
+@@ -2365,7 +2365,7 @@ cpformat(a)
+ else if(i==0x7E)
+ newCP += wxChar(0x203E);//Overline
+ else if(i<0x80)
+- newCP += ((i<0x20 || i==0x7F) ? '.' : wxChar(i));
++ newCP += ((i<0x20 || i==0x7F) ? L'.' : wxChar(i));
+ else if( i>=0xA1 && i<0xE0)
+ newCP += wxChar(i-0xA0+0xFF60);
+ else