sc-im: Define `MAXROWS` as `1048576`

This commit is contained in:
Tee KOBAYASHI 2022-01-12 04:14:48 +09:00 committed by YAKSH BARIYA
parent 742b055fb7
commit 0af0fcb96d
2 changed files with 10 additions and 1 deletions

View File

@ -22,6 +22,15 @@
CFLAGS += -Wall -g
CFLAGS += -DNCURSES
@@ -47,7 +48,7 @@
# Comment out to disable undo/redo support
CFLAGS += -DUNDO
# Maximum number of rows in spreadsheet. Up to 1048576
-CFLAGS += -DMAXROWS=65536
+CFLAGS += -DMAXROWS=1048576
# Used for date formatting with C-d shortcut using you local d_fmt
CFLAGS += -DUSELOCALE
# Comment out to enable mouse support on virtual terminal.
@@ -166,6 +167,9 @@
gram.c : gram.y
$(YACC) -d $<

View File

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="An improved version of sc, a spreadsheet calculator"
TERMUX_PKG_LICENSE="BSD"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.8.2
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/andmarti1424/sc-im/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=7f00c98601e7f7709431fb4cbb83707c87016a3b015d48e5a7c2f018eff4b7f7
TERMUX_PKG_AUTO_UPDATE=true