Skip to content

AppleWorks SS column generator label is wrong #67

Description

@fadden

The PrintCol() function does this for columns >= 26:

        fPrintColBuf[0] = 'A' + col / 26;
        fPrintColBuf[1] = 'A' + col % 26;
        fPrintColBuf[2] = '\0';

This jumps from "Z" to "BA" instead of "AA". It should actually be 'A' + col / 26 - 1.

Also, strings output for token=0xff should be wrapped in double quotes. The ellipsis token ($fc) should be ".." for denoting ranges in modern spreadsheets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions