$NetBSD: patch-ac,v 1.2 2005/08/15 14:03:53 wulf Exp $

--- src/crxdisplay.cpp.orig	2005-03-12 03:49:18.000000000 +1030
+++ src/crxdisplay.cpp	2005-08-15 05:36:46.000000000 +0930
@@ -27,7 +27,7 @@
 #include <qstyle.h>
 #include <qpalette.h>
 
-
+#include <pkgsrc_fixes.h>
 
 #include "crecording.h"
 #include "crxchannel.h"
@@ -68,7 +68,7 @@
      {
        int position=t->identifier();
        if ( position >= 0 && position < Farbe->size() ) 
-        Cg.setColor(QColorGroup::Foreground, Farbe->at(position));
+        Cg.setColor(QColorGroup::Foreground, at_replacement(*Farbe, position));
      } 
     style().drawControl( QStyle::CE_TabBarLabel, p, this, br,
                           Cg,
