Commit 344f4a4c authored by claes's avatar claes

current_chapter wasn't initialized

parent 66a8373f
/* /*
* Proview $Id: cnv_topdf.h,v 1.2 2005-09-01 14:57:47 claes Exp $ * Proview $Id: cnv_topdf.h,v 1.3 2005-12-21 08:30:25 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -125,6 +125,8 @@ class CnvToPdf { ...@@ -125,6 +125,8 @@ class CnvToPdf {
header_number[i] = 0; header_number[i] = 0;
for ( int i = 0; i < pdf_eFile__; i++) for ( int i = 0; i < pdf_eFile__; i++)
page_number[i] = 0; page_number[i] = 0;
strcpy( previous_chapter, "");
strcpy( current_chapter, "");
style[pdf_eId_TitlePage].h1 = style[pdf_eId_TitlePage].h1 =
CnvStyle( "Helvetica-Bold-ISOLatin1", 35, 0, 100, 20, cnv_eAlignment_Center, 0, 0, 0); CnvStyle( "Helvetica-Bold-ISOLatin1", 35, 0, 100, 20, cnv_eAlignment_Center, 0, 0, 0);
......
/* /*
* Proview $Id: cnv_tops.h,v 1.2 2005-09-01 14:57:47 claes Exp $ * Proview $Id: cnv_tops.h,v 1.3 2005-12-21 08:30:25 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -80,6 +80,8 @@ class CnvToPs { ...@@ -80,6 +80,8 @@ class CnvToPs {
header_number[i] = 0; header_number[i] = 0;
for ( int i = 0; i < ps_eFile__; i++) for ( int i = 0; i < ps_eFile__; i++)
page_number[i] = 0; page_number[i] = 0;
strcpy( previous_chapter, "");
strcpy( current_chapter, "");
style[ps_eId_TitlePage].h1 = style[ps_eId_TitlePage].h1 =
CnvStyle( "Helvetica-Bold-ISOLatin1", 35, 0, 100, 20, cnv_eAlignment_Center, 0, 0, 0); CnvStyle( "Helvetica-Bold-ISOLatin1", 35, 0, 100, 20, cnv_eAlignment_Center, 0, 0, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment