There should be a space before the bracket.
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Tue, 24 Nov 2009 02:35:06 +0000 (02:35 +0000)
committergraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Tue, 24 Nov 2009 02:35:06 +0000 (02:35 +0000)
git-svn-id: http://opkg.googlecode.com/svn/trunk@354 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

libopkg/pkg.c

index e37806b711753e98563f50d5b848cf549498f2ed..e6d76a6bc68056f190247dd7ee2bc217163baa0d 100644 (file)
@@ -578,7 +578,7 @@ void pkg_formatted_field(FILE *fp, pkg_t *pkg, const char *field)
                         fprintf(fp, "%s %s", i == 0 ? "" : ",",
                                cdep->pkg->name);
                        if (cdep->version) {
-                               fprintf(fp, "(%s%s)",
+                               fprintf(fp, " (%s%s)",
                                        constraint_to_str(cdep->constraint),
                                        cdep->version);
                        }