diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-01-25 23:25:05 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-01-25 23:25:05 -0800 |
commit | cbe85a18c7e433e1d937eba7e994329e4d81e9cc (patch) | |
tree | 3c4354be4c2360da6f9fa7d703634a9ae744dddb /src | |
parent | 32d86bfc7f375a288a67549e95faea788da44d04 (diff) | |
download | teliva-cbe85a18c7e433e1d937eba7e994329e4d81e9cc.tar.gz |
rename the custom big picture view to doc:main
Diffstat (limited to 'src')
-rw-r--r-- | src/teliva.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/teliva.c b/src/teliva.c index b588829..8cb0a62 100644 --- a/src/teliva.c +++ b/src/teliva.c @@ -626,7 +626,8 @@ static int look_up_definition (lua_State* L, const char* name); extern int editProse(lua_State* L, char* filename); void big_picture_view(lua_State* L) { int oldtop = lua_gettop(L); - if (!look_up_definition(L, "doc:bp")) { + if (!look_up_definition(L, "doc:main")) { + lua_settop(L, oldtop); default_big_picture_view(L); } else { FILE* out = fopen("teliva_big_picture", "w"); |