Changeset 980

Show
Ignore:
Timestamp:
07/05/08 11:26:27 (5 months ago)
Author:
takkaria
Message:

Fix some code indentation.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/obj-info.c

    r978 r980  
    380380                } 
    381381 
    382             text_out("With this weapon, you would currently get "); 
    383             text_out_c(TERM_L_GREEN, format("%d ", blows)); 
    384             if (blows > 1) 
     382               text_out("With this weapon, you would currently get "); 
     383               text_out_c(TERM_L_GREEN, format("%d ", blows)); 
     384               if (blows > 1) 
    385385                        text_out("blows per round.  Each blow will do an average damage of "); 
    386             else 
     386               else 
    387387                        text_out("blow per round, averaging a damage of "); 
    388388        } 
     
    421421                                text_out_c(TERM_L_RED, "%d", 0); 
    422422                        else if (total_dam % 10) 
    423                                 text_out_c(TERM_L_GREEN, "%d.%d",  
    424                                                   total_dam / 10, total_dam % 10); 
     423                                text_out_c(TERM_L_GREEN, "%d.%d", 
     424                                           total_dam / 10, total_dam % 10); 
    425425                        else 
    426426                                text_out_c(TERM_L_GREEN, "%d", total_dam / 10); 
     
    435435        total_dam = dam + xtra_dam; 
    436436 
    437     if (total_dam <= 0) 
     437       if (total_dam <= 0) 
    438438                text_out_c(TERM_L_RED, "%d", 0); 
    439439        else if (total_dam % 10) 
    440                 text_out_c(TERM_L_GREEN, "%d.%d",  
    441                                   total_dam / 10, total_dam % 10); 
    442     else 
     440                text_out_c(TERM_L_GREEN, "%d.%d", 
     441                           total_dam / 10, total_dam % 10); 
     442       else 
    443443                text_out_c(TERM_L_GREEN, "%d", total_dam / 10); 
    444444