Skip to content
Snippets Groups Projects
Commit 9a98dc8a authored by deuce's avatar deuce
Browse files

Remove unused stuff.

parent 16d30a1f
No related branches found
No related tags found
No related merge requests found
...@@ -2725,7 +2725,6 @@ struct cterminal* CIOLIBCALL cterm_init(int height, int width, int xpos, int ypo ...@@ -2725,7 +2725,6 @@ struct cterminal* CIOLIBCALL cterm_init(int height, int width, int xpos, int ypo
char *out; char *out;
int i; int i;
struct cterminal *cterm; struct cterminal *cterm;
struct text_info ti;
if((cterm=malloc(sizeof(struct cterminal)))==NULL) if((cterm=malloc(sizeof(struct cterminal)))==NULL)
return cterm; return cterm;
...@@ -2799,7 +2798,6 @@ struct cterminal* CIOLIBCALL cterm_init(int height, int width, int xpos, int ypo ...@@ -2799,7 +2798,6 @@ struct cterminal* CIOLIBCALL cterm_init(int height, int width, int xpos, int ypo
} }
/* Set up a shadow palette */ /* Set up a shadow palette */
gettextinfo(&ti);
for (i=0; i < sizeof(dac_default)/sizeof(struct dac_colors); i++) for (i=0; i < sizeof(dac_default)/sizeof(struct dac_colors); i++)
setpalette(i+16, dac_default[i].red << 8 | dac_default[i].red, dac_default[i].green << 8 | dac_default[i].green, dac_default[i].blue << 8 | dac_default[i].blue); setpalette(i+16, dac_default[i].red << 8 | dac_default[i].red, dac_default[i].green << 8 | dac_default[i].green, dac_default[i].blue << 8 | dac_default[i].blue);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment