File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
WEB-INF/src/com/dhtmlx/scheduler Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ private void printWatermark() throws Exception {
224
224
225
225
private void createPDF (double [] orientation ) throws Exception {
226
226
this .resp .setContentType ("application/pdf" );
227
- this .pdf = new PDF (this . resp .getOutputStream ());
227
+ this .pdf = new PDF (resp .getOutputStream ());
228
228
229
229
this .f1 = new Font (pdf , "Helvetica" );
230
230
this .f1 .setSize (10 );
@@ -449,7 +449,7 @@ private void monthEventsDraw() throws Exception {
449
449
events_grid [week ][day ]++;
450
450
int event_length = (int ) Math .floor (width / this .monthDayWidth );
451
451
for (int j = 1 ; j <= event_length ; j ++) {
452
- events_grid [week ][day + j ]++ ;
452
+ events_grid [week ][day + j ]= events_grid [ week ][ day ] ;
453
453
}
454
454
} else {
455
455
double cell_x = this .offsetLeft + day * this .monthDayWidth
You can’t perform that action at this time.
0 commit comments