ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/GPetrucc/interface/fwlite/Scanner.h
(Generate patch)

Comparing UserCode/GPetrucc/interface/fwlite/Scanner.h (file contents):
Revision 1.2 by gpetrucc, Thu Jan 28 11:49:27 2010 UTC vs.
Revision 1.3 by gpetrucc, Thu Jan 28 12:00:32 2010 UTC

# Line 42 | Line 42 | namespace fwlite {
42                  for (int i = 0; i < exprArray->GetEntries(); ++i) {
43                      const char *ex = ((TObjString *)(*exprArray)[i])->GetString();
44                      scanner.addExpression(ex);
45 <                    printf(" : %8.8s", ex);
45 >                    printf(" : %8s", (strlen(ex)>8 ? ex+strlen(ex)-8 : ex)); // the rightmost part is usually the more interesting one
46                      rowline += 3+8;
47                  }
48                  std::cout << " :" << std::endl;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines