forked from pool/wxhexeditor
- Backport patch to fix build on Arm: * wxhexeditor-fix-arm.patch OBS-URL: https://build.opensuse.org/request/show/841779 OBS-URL: https://build.opensuse.org/package/show/editors/wxhexeditor?expand=0&rev=30
12 lines
514 B
Diff
12 lines
514 B
Diff
--- wxHexEditor-0.24.orig/src/HexEditorCtrl/wxHexCtrl/wxHexCtrl.cpp 2020-10-14 14:54:27.206689027 +0200
|
|
+++ wxHexEditor-0.24/src/HexEditorCtrl/wxHexCtrl/wxHexCtrl.cpp 2020-10-14 14:56:10.059696720 +0200
|
|
@@ -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) ? wxChar('.') : wxChar(i));
|
|
else if( i>=0xA1 && i<0xE0)
|
|
newCP += wxChar(i-0xA0+0xFF60);
|
|
else
|