aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelipe Oliveira Carvalho <felipekde@gmail.com>2014-03-22 12:14:22 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-03-25 18:48:45 -0300
commitb7f953b9e4b739057fb1a143d06de8eb406f0596 (patch)
treee056061d7f67ded6179d014fd081e977618dd8ea /src
parentf9aeb219c15c39867d88c692ca59c6306e945478 (diff)
downloadrneovim-b7f953b9e4b739057fb1a143d06de8eb406f0596.tar.gz
rneovim-b7f953b9e4b739057fb1a143d06de8eb406f0596.tar.bz2
rneovim-b7f953b9e4b739057fb1a143d06de8eb406f0596.zip
Move some #defines from farsi.h to farsi.c
Diffstat (limited to 'src')
-rw-r--r--src/farsi.c5
-rw-r--r--src/farsi.h8
2 files changed, 5 insertions, 8 deletions
diff --git a/src/farsi.c b/src/farsi.c
index ccff73f13c..b09c44ecc5 100644
--- a/src/farsi.c
+++ b/src/farsi.c
@@ -9,6 +9,11 @@
#include "ex_getln.h"
+#define SRC_EDT 0
+#define SRC_CMD 1
+
+#define AT_CURSOR 0
+
static int toF_Xor_X_(int c);
static int F_is_TyE(int c);
static int F_is_TyC_TyD(int c);
diff --git a/src/farsi.h b/src/farsi.h
index 6e35f8ef39..50ba26ca80 100644
--- a/src/farsi.h
+++ b/src/farsi.h
@@ -154,14 +154,6 @@
#define WAW_H 0xf9
#define ALEF_D_H 0xfa
-// global definitions
-// ==================
-
-#define SRC_EDT 0
-#define SRC_CMD 1
-
-#define AT_CURSOR 0
-
// definitions for the window dependent functions (w_farsi).
#define W_CONV 0x1
#define W_R_L 0x2