sco = reallocHistoryBuffer(block, sco->internal.maxNumberOfPoints + sco->internal.numberOfPoints);
sco->scope.disableBufferUpdate = FALSE;
sco->scope.historyUpdateCounter = 0;
- #if WITH_GUI
- pushHistory(block, 0, sco->internal.maxNumberOfPoints);
- deleteBufferPolylines(block);
- #endif
+#ifdef WITH_GUI
+ pushHistory(block, 0, sco->internal.maxNumberOfPoints);
+ deleteBufferPolylines(block);
+#endif
freeScoData(block);
break;
static int getFigure(scicos_block * block)
{
-#if WITH_GUI
+#ifdef WITH_GUI
signed int figNum;
int iFigureUID = 0;
int iAxe = 0;