blob: f1e15150ea4d3bddf6a9df46c04c6638c4660dfd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- quintalign-1.0.orig/quintalign/quintalign/quintalignview.cpp 2003-01-03 02:31:48.000000000 +1300
+++ quintalign-1.0/quintalign/quintalign/quintalignview.cpp 2005-12-26 18:05:04.000000000 +1300
@@ -604,7 +604,7 @@
mScoreDigits=digits;
}
- char no[mScoreDigits];
+ char *no = new char[mScoreDigits];
for (i=0;i<mScoreDigits;i++)
{
no[mScoreDigits-i-1]=score%10;
@@ -660,6 +660,7 @@
borigin+=QPoint(backSprite->width(),0);
}
}
+ delete [] no;
}
// paint function
|