aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/XPM.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2012-02-14 19:14:59 +1100
committernyamatongwe <unknown>2012-02-14 19:14:59 +1100
commite2e3d8c8e2df15b58fab4d142fa9fefa07a9e53e (patch)
tree1a28039983ac341f571a66211f791aa6ab3a0600 /src/XPM.cxx
parent0fb492708fc160fc694e83bb934de3319e74a50b (diff)
downloadscintilla-mirror-e2e3d8c8e2df15b58fab4d142fa9fefa07a9e53e.tar.gz
Removed dead code as it was producing warnings.
Diffstat (limited to 'src/XPM.cxx')
-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) {