Check-in [1001b63010]
Overview
Comment:Freecolor 0.8.8
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | 0.8.8
Files: files | file ages | folders
SHA1:1001b630107b253651e2cd9e9a303745a01ac34d
User & Date: rkeene on 2009-05-31 02:46:36
Other Links: manifest | tags
Context
2013-11-26
16:31
Corrected some build issues check-in: 0c3407a37c user: rkeene tags: trunk
2009-05-31
02:46
Freecolor 0.8.8 check-in: 1001b63010 user: rkeene tags: trunk, 0.8.8
02:45
Applied patch to freecolor from T. Bishop, fixing out of bounds array indexing and larger memory configurations. Freecolor really needs a rewrite. check-in: d1232b819a user: rkeene tags: trunk
Changes

Modified freecolor.c from [db1aeb86d8] to [bf8bf147e2].

63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#include <stdlib.h>
#include <stdio.h>
#ifndef NO_GETOPT
#include <getopt.h>
#endif
#define BARLEN 35
#define HEADERLEN 14
#define VERSION "0.8.7"


extern char *optarg;
extern int optind, opterr, optopt;

void bargraph(float percent, float secondper, char marks[BARLEN+HEADERLEN+1],int usefull) {
  char percentone[BARLEN+1], percenttwo[BARLEN+1], remain[BARLEN+1];







|







63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#include <stdlib.h>
#include <stdio.h>
#ifndef NO_GETOPT
#include <getopt.h>
#endif
#define BARLEN 35
#define HEADERLEN 14
#define VERSION "0.8.8"


extern char *optarg;
extern int optind, opterr, optopt;

void bargraph(float percent, float secondper, char marks[BARLEN+HEADERLEN+1],int usefull) {
  char percentone[BARLEN+1], percenttwo[BARLEN+1], remain[BARLEN+1];