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