aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/XPM.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/XPM.cxx b/src/XPM.cxx
index b63eb1550..aeb94a9c6 100644
--- a/src/XPM.cxx
+++ b/src/XPM.cxx
@@ -47,14 +47,6 @@ ColourDesired XPM::ColourDesiredFromCode(int ch) const {
ColourDesired XPM::ColourFromCode(int ch) const {
return *colourCodeTable[ch];
-#ifdef SLOW
- for (int i=0; i<nColours; i++) {
- if (codes[i] == ch) {
- return colours[i].allocated;
- }
- }
- return colours[0].allocated;
-#endif
}
void XPM::FillRun(Surface *surface, int code, int startX, int y, int x) {