1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
/* bug3424150.c */ #include <testfwk.h> #ifndef __SDCC_pdk14 // Lack of memory unsigned char _pInputBuf[80]; unsigned char _iInputPos; void OnEditCancel() { if (!_pInputBuf[_iInputPos] && _iInputPos) { _iInputPos --; } _pInputBuf[_iInputPos] = 0; } #endif void testBug(void) { }