summaryrefslogtreecommitdiffstats
path: root/src/kvirc/ui/kvi_ircview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvirc/ui/kvi_ircview.cpp')
-rw-r--r--src/kvirc/ui/kvi_ircview.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kvirc/ui/kvi_ircview.cpp b/src/kvirc/ui/kvi_ircview.cpp
index 255b588..4cb5425 100644
--- a/src/kvirc/ui/kvi_ircview.cpp
+++ b/src/kvirc/ui/kvi_ircview.cpp
@@ -1901,7 +1901,7 @@ const kvi_wchar_t * KviIrcView::getTextLine(int iMsgType,
int iCurChunk = 0;
int blockLen;
- register const kvi_wchar_t *p= data_ptr;
+ const kvi_wchar_t *p= data_ptr;
//Alloc the first attribute
line_ptr->uChunkCount = 1;
@@ -1957,8 +1957,8 @@ const kvi_wchar_t * KviIrcView::getTextLine(int iMsgType,
iTextIdx = iTimeStampLength; // the rest of the string will begin 11 chars later
// throw away const: we WANT to set the chars :D
- register TQChar * data_ptr_aux = (TQChar *)line_ptr->szText.unicode();
- register TQChar * stamp_ptr_aux = (TQChar *)szTimestamp.unicode();
+ TQChar * data_ptr_aux = (TQChar *)line_ptr->szText.unicode();
+ TQChar * stamp_ptr_aux = (TQChar *)szTimestamp.unicode();
for(int i=0;i<iTimeStampLength;i++)
*data_ptr_aux++ = *stamp_ptr_aux++;
@@ -2951,7 +2951,7 @@ void KviIrcView::paintEvent(TQPaintEvent *p)
for(int i=0;i < pCurTextLine->iBlockCount;i++)
{
- register KviIrcViewWrappedBlock * block = &(pCurTextLine->pBlocks[i]);
+ KviIrcViewWrappedBlock * block = &(pCurTextLine->pBlocks[i]);
// Play with the attributes
if(block->pChunk)
@@ -3474,7 +3474,7 @@ void KviIrcView::calculateLineWraps(KviIrcViewLine *ptr,int maxWidth)
for(;;)
{
//Calculate the block_width
- register const TQChar * p = unicode + ptr->pBlocks[ptr->iBlockCount].block_start;
+ const TQChar * p = unicode + ptr->pBlocks[ptr->iBlockCount].block_start;
int curBlockLen = 0;
int curBlockWidth = 0;
@@ -3626,7 +3626,7 @@ bool KviIrcView::checkSelectionBlock(KviIrcViewLine * line,int left,int bottom,i
// Yahoo!!!!
//
const TQChar * unicode = line->szText.unicode();
- register const TQChar * p = unicode + line->pBlocks[bufIndex].block_start;
+ const TQChar * p = unicode + line->pBlocks[bufIndex].block_start;
int top = bottom-m_iFontLineSpacing;
int right = ((line->pBlocks[bufIndex].block_width >= 0) ? \