From: Michael Schroeder Date: Tue, 16 Apr 2013 12:11:06 +0000 (+0200) Subject: make pool_solvable2str use - for haiku X-Git-Tag: BASE-SuSE-Code-12_3-Branch~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3012c0cb47b6e083ed068e5d4a444f2aa9f6b410;p=thirdparty%2Flibsolv.git make pool_solvable2str use - for haiku --- diff --git a/src/solvable.c b/src/solvable.c index 8392f491..a5baea52 100644 --- a/src/solvable.c +++ b/src/solvable.c @@ -53,7 +53,7 @@ pool_solvable2str(Pool *pool, Solvable *s) } if (al) { - p[nl + el] = '.'; + p[nl + el] = pool->disttype == DISTTYPE_HAIKU ? '-' : '.'; strcpy(p + nl + el + 1, a); } return p;