Skip to content

Commit b272940

Browse files
committed
comment
1 parent 4bb5de4 commit b272940

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

include/xlswriter.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ static inline chart_object *php_vtiful_chart_fetch_object(zend_object *obj) {
9898
#define SHEET_LINE_ADD(obj_p) \
9999
++obj_p->line;
100100

101-
#define SHEET_LINE_SET(obj_p, line) \
102-
obj_p->line = line;
101+
#define SHEET_LINE_SET(obj_p, current_line) \
102+
obj_p->line = current_line;
103103

104104
#define SHEET_CURRENT_LINE(obj_p) obj_p->line
105105

kernel/chart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ PHP_METHOD(vtiful_chart, seriesName)
159159
}
160160
/* }}} */
161161

162-
/** {{{ \Vtiful\Kernel\Chart::seriesName(string $value)
162+
/** {{{ \Vtiful\Kernel\Chart::seriesName(int $style)
163163
*/
164164
PHP_METHOD(vtiful_chart, style)
165165
{

kernel/excel.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,8 @@ PHP_METHOD(vtiful_xls, insertText)
405405

406406
xls_object *obj = Z_XLS_P(getThis());
407407

408+
SHEET_LINE_SET(obj, row);
409+
408410
type_writer(data, row, column, &obj->ptr, format);
409411
}
410412
/* }}} */

0 commit comments

Comments
 (0)