Changeset 2380 for neercs


Ignore:
Timestamp:
Jun 13, 2008, 11:22:04 PM (12 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Get rid of the nice XTAB and YTAB macros, as they are unused, and noone ever knew why they were defined, anyway. This

was my longuest commit comment ever. (commit comment, lol) (Beer, nevermind).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/main.c

    r2379 r2380  
    3838#include "neercs.h"
    3939
    40 #define XTAB 5
    41 #define YTAB 3
    4240
    4341static int create_pty(char *cmd, unsigned int w, unsigned int h, int *cpid);
     
    8684    h = cucul_get_canvas_height(cv);
    8785
    88     w = w <= XTAB * nt ? 1 : w - XTAB * (nt - 1) - 2;
    89     h = h <= YTAB * nt ? 1 : h - YTAB * (nt - 1) - 2 - 6;
     86    w = 80;
     87    h = 25;
    9088
    9189
Note: See TracChangeset for help on using the changeset viewer.