Commit 67b77c0b authored by Andreas Schwab's avatar Andreas Schwab

* gtkutil.c (find_rtl_image, update_frame_tool_bar): Use NILP.

parent a9f6f311
2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
* gtkutil.c (find_rtl_image, update_frame_tool_bar): Use NILP.
2012-08-14 Gergely Risko <gergely@risko.hu>
* coding.c (decode_coding): Record buffer modification before
......
......@@ -4306,7 +4306,7 @@ find_rtl_image (FRAME_PTR f, Lisp_Object image, Lisp_Object rtl)
{
file = call1 (intern ("file-name-sans-extension"),
Ffile_name_nondirectory (file));
if (EQ (Fequal (file, rtl_name), Qt))
if (! NILP (Fequal (file, rtl_name)))
{
image = rtl_image;
break;
......@@ -4583,8 +4583,8 @@ update_frame_tool_bar (FRAME_PTR f)
&& tbinfo->n_last_items == f->n_tool_bar_items
&& tbinfo->hmargin == hmargin && tbinfo->vmargin == vmargin
&& tbinfo->dir == dir
&& EQ (Fequal (tbinfo->style, style), Qt)
&& EQ (Fequal (tbinfo->last_tool_bar, f->tool_bar_items), Qt))
&& ! NILP (Fequal (tbinfo->style, style))
&& ! NILP (Fequal (tbinfo->last_tool_bar, f->tool_bar_items)))
{
UNBLOCK_INPUT;
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment