aboutsummaryrefslogtreecommitdiff
path: root/src/progman.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-10-12 23:41:21 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2009-10-12 23:42:04 +0300
commit8a4ba77068e5d7f6eab2cc1c1c10f31dcbccf7a6 (patch)
treec70f38d943c778684bb9dbfc7db018e7efb21bf1 /src/progman.c
parentaf04ed630f18e9003756317cc627a11084d0d59a (diff)
downloadpies-8a4ba77068e5d7f6eab2cc1c1c10f31dcbccf7a6.tar.gz
pies-8a4ba77068e5d7f6eab2cc1c1c10f31dcbccf7a6.tar.bz2
Fix make distcheck and check-docs.
* doc/Makefile.am: Fix `check-*' goals. * doc/pies.texi: Update and rearrange material. Document new configuration. * lib/Makefile.am (libpies_a_SOURCES): Remove nls.c * src/Makefile.am (EXTRA_DIST): Remove pies.rc, add pp-setup. (INCLUDES): Add $(top_builddir)/gnu * src/pies.c: Minor changes. * src/progman.c: Minor changes. * README-hacking: New file.
Diffstat (limited to 'src/progman.c')
-rw-r--r--src/progman.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/progman.c b/src/progman.c
index cee6775..3211d9a 100644
--- a/src/progman.c
+++ b/src/progman.c
@@ -150,11 +150,11 @@ void
unlink_prog (struct prog *pp)
{
struct prog *x;
- if (x = pp->prev)
+ if ((x = pp->prev))
x->next = pp->next;
else
proghead = pp->next;
- if (x = pp->next)
+ if ((x = pp->next))
x->prev = pp->prev;
else
progtail = pp->prev;

Return to:

Send suggestions and report system problems to the System administrator.