- Reworked the connection object and the IO system
- Reworked the support for TRICS - Added a second generation motor
This commit is contained in:
13
dynstring.c
13
dynstring.c
@@ -254,6 +254,19 @@
|
||||
|
||||
return self->iTextLen;
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
int DynStringBackspace(pDynString self)
|
||||
{
|
||||
assert(self);
|
||||
assert(self->iMAGIC == DYNMAGIC);
|
||||
|
||||
if(self->iTextLen > 0)
|
||||
{
|
||||
self->pBuffer[self->iTextLen - 1] = '\0';
|
||||
self->iTextLen--;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user