summaryrefslogtreecommitdiffstats
path: root/mc
diff options
context:
space:
mode:
Diffstat (limited to 'mc')
-rw-r--r--mc/Makefile.am6
-rw-r--r--mc/mc.h2
2 files changed, 3 insertions, 5 deletions
diff --git a/mc/Makefile.am b/mc/Makefile.am
index eb000085..f56dac5f 100644
--- a/mc/Makefile.am
+++ b/mc/Makefile.am
@@ -1,12 +1,10 @@
EXTRA_DIST = mc.h
-AM_CFLAGS = \
+AM_CPPFLAGS = \
-DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
-DXRDP_SBIN_PATH=\"${sbindir}\" \
-DXRDP_SHARE_PATH=\"${datadir}/xrdp\" \
- -DXRDP_PID_PATH=\"${localstatedir}/run\"
-
-INCLUDES = \
+ -DXRDP_PID_PATH=\"${localstatedir}/run\" \
-I$(top_srcdir)/common
lib_LTLIBRARIES = \
diff --git a/mc/mc.h b/mc/mc.h
index ac31334c..4af932f0 100644
--- a/mc/mc.h
+++ b/mc/mc.h
@@ -67,7 +67,7 @@ struct mod
int (*server_set_pen)(struct mod* v, int style,
int width);
int (*server_draw_line)(struct mod* v, int x1, int y1, int x2, int y2);
- int (*server_add_char)(struct mod* v, int font, int charactor,
+ int (*server_add_char)(struct mod* v, int font, int character,
int offset, int baseline,
int width, int height, char* data);
int (*server_draw_text)(struct mod* v, int font,