File ponyprog2000-no-narrowing.patch of Package ponyprog2000
diff -Nurd PonyProg2000-2.07c/v/srcx/vmenu.cxx PonyProg2000-2.07c.new/v/srcx/vmenu.cxx
--- PonyProg2000-2.07c/v/srcx/vmenu.cxx 2007-04-13 02:58:34.000000000 +0200
+++ PonyProg2000-2.07c.new/v/srcx/vmenu.cxx 2018-03-07 20:11:54.202556336 +0100
@@ -55,8 +55,8 @@
#define menux_width 9
#define menux_height 9
static char menux_bits[] = {
- 0xff, 0x01, 0x83, 0x01, 0x45, 0x01, 0x29, 0x01, 0x11, 0x01, 0x29, 0x01,
- 0x45, 0x01, 0x83, 0x01, 0xff, 0x01};
+ '\xff', '\x01', '\x83', '\x01', '\x45', '\x01', '\x29', '\x01', '\x11', '\x01', '\x29', '\x01',
+ '\x45', '\x01', '\x83', '\x01', '\xff', '\x01'};
static Pixmap menux_bitmap = 0; // the check for menus
#define menuclr_width 9
@@ -68,8 +68,8 @@
#define rtarrow_width 9
#define rtarrow_height 9
static char rtarrow_bits[] = {
- 0x03, 0x00, 0x0f, 0x00, 0x3f, 0x00, 0xff, 0x00, 0xff, 0x01, 0xff, 0x00,
- 0x3f, 0x00, 0x0f, 0x00, 0x03, 0x00};
+ '\x03', '\x00', '\x0f', '\x00', '\x3f', '\x00', '\xff', '\x00', '\xff', '\x01', '\xff', '\x00',
+ '\x3f', '\x00', '\x0f', '\x00', '\x03', '\x00'};
static Pixmap rtarrow_bitmap = 0; // right arrow for submenus
diff -Nurd PonyProg2000-2.07c/v/srcx/vxdc.cxx PonyProg2000-2.07c.new/v/srcx/vxdc.cxx
--- PonyProg2000-2.07c/v/srcx/vxdc.cxx 2007-04-13 02:58:34.000000000 +0200
+++ PonyProg2000-2.07c.new/v/srcx/vxdc.cxx 2018-03-07 20:18:16.763593011 +0100
@@ -23,49 +23,49 @@
#define ldiag_width 16
#define ldiag_height 16
static char ldiag_bits[] = {
- 0x01, 0x01, 0x02, 0x02, 0x04, 0x04, 0x08, 0x08, 0x10, 0x10, 0x20, 0x20,
- 0x40, 0x40, 0x80, 0x80, 0x01, 0x01, 0x02, 0x02, 0x04, 0x04, 0x08, 0x08,
- 0x10, 0x10, 0x20, 0x20, 0x40, 0x40, 0x80, 0x80};
+ '\x01', '\x01', '\x02', '\x02', '\x04', '\x04', '\x08', '\x08', '\x10', '\x10', '\x20', '\x20',
+ '\x40', '\x40', '\x80', '\x80', '\x01', '\x01', '\x02', '\x02', '\x04', '\x04', '\x08', '\x08',
+ '\x10', '\x10', '\x20', '\x20', '\x40', '\x40', '\x80', '\x80'};
static Pixmap ldiagPM = 0;
#define cdiag_width 16
#define cdiag_height 16
static char cdiag_bits[] = {
- 0x81, 0x81, 0x42, 0x42, 0x24, 0x24, 0x18, 0x18, 0x18, 0x18, 0x24, 0x24,
- 0x42, 0x42, 0x81, 0x81, 0x81, 0x81, 0x42, 0x42, 0x24, 0x24, 0x18, 0x18,
- 0x18, 0x18, 0x24, 0x24, 0x42, 0x42, 0x81, 0x81};
+ '\x81', '\x81', '\x42', '\x42', '\x24', '\x24', '\x18', '\x18', '\x18', '\x18', '\x24', '\x24',
+ '\x42', '\x42', '\x81', '\x81', '\x81', '\x81', '\x42', '\x42', '\x24', '\x24', '\x18', '\x18',
+ '\x18', '\x18', '\x24', '\x24', '\x42', '\x42', '\x81', '\x81'};
static Pixmap cdiagPM = 0;
#define cross_width 15
#define cross_height 15
static char cross_bits[] = {
- 0x84, 0x10, 0x84, 0x10, 0xff, 0x7f, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10,
- 0x84, 0x10, 0xff, 0x7f, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10,
- 0xff, 0x7f, 0x84, 0x10, 0x84, 0x10};
+ '\x84', '\x10', '\x84', '\x10', '\xff', '\x7f', '\x84', '\x10', '\x84', '\x10', '\x84', '\x10',
+ '\x84', '\x10', '\xff', '\x7f', '\x84', '\x10', '\x84', '\x10', '\x84', '\x10', '\x84', '\x10',
+ '\xff', '\x7f', '\x84', '\x10', '\x84', '\x10'};
static Pixmap crossPM = 0;
#define rdiag_width 16
#define rdiag_height 16
static char rdiag_bits[] = {
- 0x80, 0x80, 0x40, 0x40, 0x20, 0x20, 0x10, 0x10, 0x08, 0x08, 0x04, 0x04,
- 0x02, 0x02, 0x01, 0x01, 0x80, 0x80, 0x40, 0x40, 0x20, 0x20, 0x10, 0x10,
- 0x08, 0x08, 0x04, 0x04, 0x02, 0x02, 0x01, 0x01};
+ '\x80', '\x80', '\x40', '\x40', '\x20', '\x20', '\x10', '\x10', '\x08', '\x08', '\x04', '\x04',
+ '\x02', '\x02', '\x01', '\x01', '\x80', '\x80', '\x40', '\x40', '\x20', '\x20', '\x10', '\x10',
+ '\x08', '\x08', '\x04', '\x04', '\x02', '\x02', '\x01', '\x01'};
static Pixmap rdiagPM = 0;
#define horiz_width 15
#define horiz_height 15
static char horiz_bits[] = {
- 0x00, 0x00, 0x00, 0x00, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00};
+ '\x00', '\x00', '\x00', '\x00', '\xff', '\x7f', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00',
+ '\x00', '\x00', '\xff', '\x7f', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00',
+ '\xff', '\x7f', '\x00', '\x00', '\x00', '\x00'};
static Pixmap horizPM = 0;
#define verti_width 15
#define verti_height 15
static char verti_bits[] = {
- 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10,
- 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10,
- 0x84, 0x10, 0x84, 0x10, 0x84, 0x10};
+ '\x84', '\x10', '\x84', '\x10', '\x84', '\x10', '\x84', '\x10', '\x84', '\x10', '\x84', '\x10',
+ '\x84', '\x10', '\x84', '\x10', '\x84', '\x10', '\x84', '\x10', '\x84', '\x10', '\x84', '\x10',
+ '\x84', '\x10', '\x84', '\x10', '\x84', '\x10'};
static Pixmap vertiPM = 0;
vFont vXDC::_GCFont; // the font actually in the GC