File pgcalc-lcdcrash.diff of Package pgcalc
diff -ur pgcalc/src/tlcd.cpp pgcalc2-2.2-4/src/tlcd.cpp
--- src/tlcd.cpp 2009/11/20 21:06:50 1.1
+++ src/tlcd.cpp 2009/11/20 21:07:00
@@ -221,6 +221,9 @@
//---------------------------------------------------------------------------------------
void TLCDDisplay::drawText( int X, int Y, const char* Text, TLCDFont* AFont )
{
+ if (!Text)
+ return;
+
unsigned int j;
int x;