diff options
| author | Paul Eggert | 2011-08-18 22:47:45 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-08-18 22:47:45 -0700 |
| commit | 2124ec92ffa31ba0a2e7b177f8de2dd6e27ded6d (patch) | |
| tree | e2c443d7d30c4140227af868ae49af446056e8ba /src/bidi.c | |
| parent | 76667214e7bdc7f6196de2bb6d7e14ef879a2694 (diff) | |
| parent | 5226c7c0169c61977d8914a5feb385bde36077ee (diff) | |
| download | emacs-2124ec92ffa31ba0a2e7b177f8de2dd6e27ded6d.tar.gz emacs-2124ec92ffa31ba0a2e7b177f8de2dd6e27ded6d.zip | |
Merge from trunk.
Diffstat (limited to 'src/bidi.c')
| -rw-r--r-- | src/bidi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bidi.c b/src/bidi.c index 729cf7d579e..d8742540fc7 100644 --- a/src/bidi.c +++ b/src/bidi.c | |||
| @@ -108,6 +108,8 @@ bidi_get_type (int ch, bidi_dir_t override) | |||
| 108 | abort (); | 108 | abort (); |
| 109 | 109 | ||
| 110 | default_type = (bidi_type_t) XINT (CHAR_TABLE_REF (bidi_type_table, ch)); | 110 | default_type = (bidi_type_t) XINT (CHAR_TABLE_REF (bidi_type_table, ch)); |
| 111 | if (default_type == 0) | ||
| 112 | default_type = STRONG_L; | ||
| 111 | 113 | ||
| 112 | if (override == NEUTRAL_DIR) | 114 | if (override == NEUTRAL_DIR) |
| 113 | return default_type; | 115 | return default_type; |