ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/mon/src/mon_cmd.cpp
(Generate patch)

Comparing mon/src/mon_cmd.cpp (file contents):
Revision 1.20 by gbeauche, 2007-06-07T09:51:56Z vs.
Revision 1.21 by cebix, 2012-06-19T22:23:25Z

# Line 480 | Line 480 | void fill(void)
480          if (!byte_string(str, len))
481                  return;
482  
483 <        while (adr <= end_adr)
484 <                mon_write_byte(adr++, str[src_adr++ % len]);
483 >        if (len) {
484 >                while (adr <= end_adr)
485 >                        mon_write_byte(adr++, str[src_adr++ % len]);
486 >        }
487  
488          free(str);
489   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines