diff options
Diffstat (limited to 'src/textadept.h')
-rw-r--r-- | src/textadept.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/textadept.h b/src/textadept.h index 8c858142..395a462f 100644 --- a/src/textadept.h +++ b/src/textadept.h @@ -26,13 +26,21 @@ extern GtkWidget extern GtkEntryCompletion *command_entry_completion; extern GtkTreeStore *cec_store, *pm_store; extern lua_State *lua; +#ifndef WIN32 static const char *textadept_home = "/usr/share/textadept/"; +#else +static const char *textadept_home = "C:\\Program Files\\textadept"; +#endif static long SS(ScintillaObject *sci, unsigned int msg, unsigned long wParam=0, long lParam=0) { return scintilla_send_message(sci, msg, wParam, lParam); } +#ifdef WIN32 +#define bool gboolean +#endif + // textadept.c void create_ui(); GtkWidget* new_scintilla_window(sptr_t default_id=NULL); |