aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dispextern.h3
-rw-r--r--src/w32.c11
2 files changed, 9 insertions, 5 deletions
diff --git a/src/dispextern.h b/src/dispextern.h
index 1325ff9da28..f2c42de6cd2 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -1542,7 +1542,8 @@ struct glyph_string
1542 large vertical space. The heuristics is in the factor of 3. We 1542 large vertical space. The heuristics is in the factor of 3. We
1543 ignore the ascent and descent values reported by such fonts, and 1543 ignore the ascent and descent values reported by such fonts, and
1544 instead go by the values reported for individual glyphs. */ 1544 instead go by the values reported for individual glyphs. */
1545#define FONT_TOO_HIGH(ft) ((ft)->ascent + (ft)->descent > 3*(ft)->pixel_size) 1545#define FONT_TOO_HIGH(ft) \
1546 ((ft)->pixel_size > 0 && (ft)->ascent + (ft)->descent > 3*(ft)->pixel_size)
1546 1547
1547 1548
1548/*********************************************************************** 1549/***********************************************************************
diff --git a/src/w32.c b/src/w32.c
index 71a38b91946..1db34260978 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -2822,10 +2822,13 @@ init_environment (char ** argv)
2822 } 2822 }
2823 if (strcmp (env_vars[i].name, "HOME") == 0 && !appdata) 2823 if (strcmp (env_vars[i].name, "HOME") == 0 && !appdata)
2824 Vdelayed_warnings_list 2824 Vdelayed_warnings_list
2825 = Fcons (listn (CONSTYPE_HEAP, 2, 2825 = Fcons
2826 intern ("initialization"), 2826 (listn (CONSTYPE_HEAP, 2,
2827 build_string ("Setting HOME to C:\\ by default is deprecated")), 2827 intern ("initialization"), build_string
2828 Vdelayed_warnings_list); 2828 ("Use of `C:\\.emacs' without defining `HOME'\n"
2829 "in the environment is deprecated, "
2830 "see `Windows HOME' in the Emacs manual.")),
2831 Vdelayed_warnings_list);
2829 } 2832 }
2830 2833
2831 if (lpval) 2834 if (lpval)