diff options
| author | Joakim Verona | 2013-07-14 11:04:49 +0200 |
|---|---|---|
| committer | Joakim Verona | 2013-07-14 11:04:49 +0200 |
| commit | 0bb9bb0841d89fff09820a57369df4cb01b16b43 (patch) | |
| tree | 832bf9fa8415eef0ce464d22b3ee1300cfa90bb1 /src/xsettings.c | |
| parent | 3718127221fbbc31f8ebd027ab7c95403dbe9118 (diff) | |
| parent | 3af1c8684ed6e48fbc21481d129e9aa164752c6e (diff) | |
| download | emacs-0bb9bb0841d89fff09820a57369df4cb01b16b43.tar.gz emacs-0bb9bb0841d89fff09820a57369df4cb01b16b43.zip | |
Merge branch 'trunk' into xwidget
Conflicts:
src/xdisp.c
Diffstat (limited to 'src/xsettings.c')
| -rw-r--r-- | src/xsettings.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xsettings.c b/src/xsettings.c index f48c49dbafe..45f8435d9f4 100644 --- a/src/xsettings.c +++ b/src/xsettings.c | |||
| @@ -170,7 +170,7 @@ enum { | |||
| 170 | SEEN_HINTSTYLE = 0x10, | 170 | SEEN_HINTSTYLE = 0x10, |
| 171 | SEEN_DPI = 0x20, | 171 | SEEN_DPI = 0x20, |
| 172 | SEEN_FONT = 0x40, | 172 | SEEN_FONT = 0x40, |
| 173 | SEEN_TB_STYLE = 0x80, | 173 | SEEN_TB_STYLE = 0x80 |
| 174 | }; | 174 | }; |
| 175 | struct xsettings | 175 | struct xsettings |
| 176 | { | 176 | { |
| @@ -687,7 +687,7 @@ apply_xft_settings (struct x_display_info *dpyinfo, | |||
| 687 | { | 687 | { |
| 688 | static char const format[] = | 688 | static char const format[] = |
| 689 | "Antialias: %d, Hinting: %d, RGBA: %d, LCDFilter: %d, " | 689 | "Antialias: %d, Hinting: %d, RGBA: %d, LCDFilter: %d, " |
| 690 | "Hintstyle: %d, DPI: %lf"; | 690 | "Hintstyle: %d, DPI: %f"; |
| 691 | enum | 691 | enum |
| 692 | { | 692 | { |
| 693 | d_formats = 5, | 693 | d_formats = 5, |
| @@ -696,7 +696,7 @@ apply_xft_settings (struct x_display_info *dpyinfo, | |||
| 696 | max_f_integer_digits = DBL_MAX_10_EXP + 1, | 696 | max_f_integer_digits = DBL_MAX_10_EXP + 1, |
| 697 | f_precision = 6, | 697 | f_precision = 6, |
| 698 | lf_growth = (sizeof "-." + max_f_integer_digits + f_precision | 698 | lf_growth = (sizeof "-." + max_f_integer_digits + f_precision |
| 699 | - sizeof "%lf") | 699 | - sizeof "%f") |
| 700 | }; | 700 | }; |
| 701 | char buf[sizeof format + d_formats * d_growth + lf_formats * lf_growth]; | 701 | char buf[sizeof format + d_formats * d_growth + lf_formats * lf_growth]; |
| 702 | 702 | ||