Skip to content

Added "Ä" as symbol and also doublequote as symbol as not to confuse printout in graphics mode, changed main program accordingly#1

Open
drkrebs wants to merge 4 commits into
sblendorio:masterfrom
drkrebs:master
Open

Added "Ä" as symbol and also doublequote as symbol as not to confuse printout in graphics mode, changed main program accordingly#1
drkrebs wants to merge 4 commits into
sblendorio:masterfrom
drkrebs:master

Conversation

@drkrebs

@drkrebs drkrebs commented May 15, 2021

Copy link
Copy Markdown

No description provided.

drkrebs added 3 commits May 15, 2021 15:46
print doublequote as symbol, so that it is not confusing the output stream in graphics mode
in synopsis: changed "cdmage" to "cbmtext"
Comment thread source/cbmtext.cpp Outdated
char* translate(uint32_t c, char *code) {
if (isSpace(c)) c = 32;
if (c >= 32 && c <= 127) {
if (c !=34 && c >= 32 && c <= 127) { // print doublequote as symbol

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no need for this exception for chr(34): the definition will be found in the structure and will be used instead of single char, even without modifying the IF statement.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I'm not very experienced in C++.

Change undone, as it wasn't necessary.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants