Browse Source

add missing declaration of old_x11

pre-master-46
Holger Vogt 9 years ago
parent
commit
7690b64571
  1. 4
      src/frontend/plotting/grid.c
  2. 2
      src/frontend/plotting/x11.c

4
src/frontend/plotting/grid.c

@ -36,6 +36,10 @@ extern bool old_x11;
extern int X11_GetLenStr(GRAPH *gr, char* instring);
#endif
#ifndef X_DISPLAY_MISSING
extern bool old_x11;
#endif
#define RAD_TO_DEG (180.0 / M_PI)
#define RELPOSXUNIT 0.6 /* old position of the UNIT label */

2
src/frontend/plotting/x11.c

@ -60,6 +60,8 @@ Author: 1988 Jeffrey M. Hsu
#define NUMCOLORS 20
bool old_x11 = FALSE; /* if FALSE, use xft, if TRUE use old X11 text output */
typedef struct x11info {
Window window;
int isopen;

Loading…
Cancel
Save