/[ascend]/trunk/pygtk/diagnose.py
ViewVC logotype

Diff of /trunk/pygtk/diagnose.py

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

revision 2494 by aakash, Tue Aug 16 11:14:13 2011 UTC revision 2495 by aakash, Tue Aug 16 11:35:08 2011 UTC
# Line 400  class DiagnoseWindow: Line 400  class DiagnoseWindow:
400              rl,cl,rh,ch = self.im.getBlockLocation(b)              rl,cl,rh,ch = self.im.getBlockLocation(b)
401              if rh-rl > 0 or ch-cl>0:              if rh-rl > 0 or ch-cl>0:
402                  self.set_block(b)                  self.set_block(b)
403                    return
404              b = b - 1              b = b - 1
405          print "NO PRECEDING 'BIG' BLOCKS"          print "NO PRECEDING 'BIG' BLOCKS"
406                    
# Line 410  class DiagnoseWindow: Line 411  class DiagnoseWindow:
411              rl,cl,rh,ch = self.im.getBlockLocation(b)              rl,cl,rh,ch = self.im.getBlockLocation(b)
412              if rh-rl > 0 or ch-cl>0:              if rh-rl > 0 or ch-cl>0:
413                  self.set_block(b)                  self.set_block(b)
414                    return
415              b = b + 1              b = b + 1
416          print "NO FOLLOWING 'BIG' BLOCKS"          print "NO FOLLOWING 'BIG' BLOCKS"
417            

Legend:
Removed from v.2494  
changed lines
  Added in v.2495

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22