~kameliya/kyuubey

4d33157f31ddcec92d40e6f357e78c7d3ac899aa — Yuki Izumi 6 years ago edcffba
Erase starting doc.
1 files changed, 1 insertions(+), 13 deletions(-)

M qb.c
M qb.c => qb.c +1 -13
@@ 372,20 372,8 @@ static void check_scroll(void) {

void qb_init(void) {
    active_doc = create_doc_line();
    active_doc->line = strdup("10 PRINT \"LOL\"");
    active_doc->stored = strlen(active_doc->line);
    active_doc->allocated = active_doc->stored + 1;

    active_doc->next = create_doc_line();
    active_doc->next->prev = active_doc;
    active_doc->next->line = strdup("20 GOTO 10");
    active_doc->next->stored = strlen(active_doc->next->line);
    active_doc->next->allocated = active_doc->next->stored + 1;

    active_doc->next->next = create_doc_line();
    active_doc->next->next->prev = active_doc->next;

    total_lines = 3;
    total_lines = 1;

    render();
}