On Sat, 21 Jun 2008 the mental interface of
Damian Pietras told:

> On Sun, Jun 08, 2008 at 03:34:17PM +0200, Elimar Riesebieter wrote:
> > severity 485059 minor
> > thanks
> > 
> > On Sun, 08 Jun 2008 the mental interface of
> > Dobrica Pavlinusic told:
> > 
> > > Package: moc
> > > Version: 1:2.5.0~alpha3-2+b1
> > > Severity: grave
> > > Justification: renders package unusable
> > >
> > >
> > > Starting moc results in following error:
> > >
> > > FATAL_ERROR: Layout1 is malformed
> > 
> > Copy /usr/share/doc/moc/examples/config.example.gz $HOME/.moc/
> > gunzip $HOME/.moc/config.example.gz and mv config.example
> > config. Edit config, find "# Layout1", uncomment and enjoy moc.
> 
> I can't reproduce this bug, but heard from few people it occurs, so if
> someone hits this, please do on the terminal where you try to run MOC:
> 
> `echo $COLUMNS $LINES` and send me the result
> 
> and run `mocp -D`, a file mocp_client_log will be created, the few last
> lines should tell more about the problem (something "like parse_layout():
> Width is less than 15").

The attached patch fixes the prob.

Elimar

-- 
  >what IMHO then?
  IMHO - Inhalation of a Multi-leafed Herbal Opiate ;)
              --posting from alex in debian-user--
Index: options.c
===================================================================
--- options.c.orig	2008-06-21 02:26:36.000000000 +0200
+++ options.c	2008-06-21 02:26:59.000000000 +0200
@@ -205,7 +205,7 @@
 	option_add_int ("TagsCacheSize", 256);
 	option_add_int ("PlaylistNumbering", 1);
 	option_add_str ("Layout1",
-			"directory:0,0,50%,100% playlist:50%,0,FILL,100%");
+			"directory:0,0,50%,100% playlist:50%,0,50%,100%");
 	option_add_str ("Layout2",
 			"directory:0,0,100%,100% playlist:0,0,100%,100%");
 	option_add_str ("Layout3", NULL);

Attachment: signature.asc
Description: Digital signature

Reply via email to