/[rdesktop]/sourceforge.net/trunk/rdesktop/orders.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/orders.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 37 by matty, Mon Sep 17 12:50:49 2001 UTC revision 49 by mmihalik, Fri Apr 19 12:06:08 2002 UTC
# Line 542  process_polyline(STREAM s, POLYLINE_ORDE Line 542  process_polyline(STREAM s, POLYLINE_ORDE
542  static void  static void
543  process_text2(STREAM s, TEXT2_ORDER *os, uint32 present, BOOL delta)  process_text2(STREAM s, TEXT2_ORDER *os, uint32 present, BOOL delta)
544  {  {
         DATABLOB *entry;  
545          int i;          int i;
546    
547          if (present & 0x000001)          if (present & 0x000001)
# Line 612  process_text2(STREAM s, TEXT2_ORDER *os, Line 611  process_text2(STREAM s, TEXT2_ORDER *os,
611    
612          DEBUG(("\n"));          DEBUG(("\n"));
613    
         /* Process special cache strings */  
         if ((os->length >= 2) && (os->text[0] == 0xfe))  
         {  
                 entry = cache_get_text(os->text[1]);  
   
                 if (entry == NULL)  
                         return;  
   
                 memcpy(os->text, entry->data, entry->size);  
                 os->length = entry->size;  
         }  
         else if ((os->length >= 3) && (os->text[os->length - 3] == 0xff))  
         {  
                 os->length -= 3;  
                 cache_put_text(os->text[os->length + 1], os->text,  
                                os->length);  
         }  
   
614          ui_draw_text(os->font, os->flags, os->mixmode, os->x, os->y,          ui_draw_text(os->font, os->flags, os->mixmode, os->x, os->y,
615                       os->clipleft, os->cliptop,                       os->clipleft, os->cliptop,
616                       os->clipright - os->clipleft,                       os->clipright - os->clipleft,

Legend:
Removed from v.37  
changed lines
  Added in v.49

  ViewVC Help
Powered by ViewVC 1.1.26