From 3b98e25651c1a54286a99f2e32801b9fccee9a95 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 9 Oct 2011 15:54:47 +0000 Subject: [PATCH] Reacted on warning of cppcheck about burn_disc_get_cd_info() --- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/libburn/drive.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index 26cc8474..d7aaeff5 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2011.10.07.075117" +#define Cdrskin_timestamP "2011.10.09.155415" diff --git a/libburn/trunk/libburn/drive.c b/libburn/trunk/libburn/drive.c index 1cd4956d..8be939f2 100644 --- a/libburn/trunk/libburn/drive.c +++ b/libburn/trunk/libburn/drive.c @@ -3278,7 +3278,7 @@ int burn_disc_get_cd_info(struct burn_drive *d, char disc_type[80], } *disc_id = d->disc_id; memcpy(bar_code, d->disc_bar_code, 8); - bar_code[9]= 0; + bar_code[8]= 0; *app_code = d->disc_app_code; *valid = d->disc_info_valid; return 1;