Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 130612 | Differences between
and this patch

Collapse All | Expand All

(-)cndrvcups-common-1.30.orig/cngplp/cngplpmod/cngplpmod.c (-1 / +1 lines)
Lines 393-399 Link Here
393
393
394
int CreatePPDOptions(cngplpData *data)
394
int CreatePPDOptions(cngplpData *data)
395
{
395
{
396
	(const char *)data->ppdfile = cupsGetPPD(data->curr_printer);
396
	data->ppdfile = (char * ) cupsGetPPD(data->curr_printer);
397
397
398
	memset(data->ppd_opt, 0, sizeof(PPDOptions));
398
	memset(data->ppd_opt, 0, sizeof(PPDOptions));
399
399
(-)cndrvcups-common-1.30.orig/cngplp/cngplpmod/ppdoptions.c (-3 / +3 lines)
Lines 402-408 Link Here
402
			for(i = 0; i < list->num_uiconst - 1; i++){
402
			for(i = 0; i < list->num_uiconst - 1; i++){
403
				tmp = (UIConstList *)tmp->next;
403
				tmp = (UIConstList *)tmp->next;
404
			}
404
			}
405
			(UIConstList *)tmp->next = uiconst;
405
			tmp->next = uiconst;
406
		}
406
		}
407
		list->num_uiconst++;
407
		list->num_uiconst++;
408
	}else{
408
	}else{
Lines 415-421 Link Here
415
			for(i = 0; i < items->num_uiconst - 1; i++){
415
			for(i = 0; i < items->num_uiconst - 1; i++){
416
				tmp = (UIConstList *)tmp->next;
416
				tmp = (UIConstList *)tmp->next;
417
			}
417
			}
418
			(UIConstList *)tmp->next = uiconst;
418
			tmp->next = uiconst;
419
		}
419
		}
420
		items->num_uiconst++;
420
		items->num_uiconst++;
421
	}
421
	}
Lines 493-499 Link Here
493
		for (i = 0; i < num_list - 2; i++){
493
		for (i = 0; i < num_list - 2; i++){
494
			tmp = (UIOptionList *)tmp->next;
494
			tmp = (UIOptionList *)tmp->next;
495
		}
495
		}
496
		(UIOptionList *)tmp->next = option;
496
		tmp->next = option;
497
	}
497
	}
498
	return 0;
498
	return 0;
499
}
499
}

Return to bug 130612