~ubuntu-branches/ubuntu/trusty/compiz/trusty

« back to all changes in this revision

Viewing changes to compizconfig/libcompizconfig/src/ini.c

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2013-08-22 06:58:07 UTC
  • mto: This revision was merged to the branch mainline in revision 3352.
  • Revision ID: package-import@ubuntu.com-20130822065807-17nlzez0d30y09so
Tags: upstream-0.9.10+13.10.20130822
ImportĀ upstreamĀ versionĀ 0.9.10+13.10.20130822

Show diffs side-by-side

added added

removed removed

Lines of Context:
347
347
    int len, i = 0;
348
348
 
349
349
    len = strlen (value);
350
 
    for (i = 0; i < len; i++)
 
350
    for (i = 0; i < len; ++i)
351
351
    {
352
352
        if (!isblank (value[i]))
353
353
            return FALSE;
378
378
    while (token)
379
379
    {
380
380
        token = strchr (token + 1, ';');
381
 
        nItems++;
 
381
        ++nItems;
382
382
    }
383
383
 
384
384
    token = strsep (&valueString, ";");
399
399
 
400
400
            list = ccsGetValueListFromStringArray ((const char **) array, nItems, parent);
401
401
 
402
 
            for (i = 0; i < nItems; i++)
 
402
            for (i = 0; i < nItems; ++i)
403
403
                free (array[i]);
404
404
 
405
405
            free (array);
417
417
                memset (&array[i], 0, sizeof (CCSSettingColorValue));
418
418
                ccsStringToColor (token, &array[i]);
419
419
                token = strsep (&valueString, ";");
420
 
                i++;
 
420
                ++i;
421
421
            }
422
422
 
423
423
            list = ccsGetValueListFromColorArray (array, nItems, parent);