Some typo corrections of the comments. (jomalin)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3763
This commit is contained in:
parent
fd65f6f897
commit
fc1ffcc528
11 changed files with 16 additions and 16 deletions
|
@ -37,7 +37,7 @@ public:
|
|||
private:
|
||||
Bit8u readcache;
|
||||
Bit8u lastwrite;
|
||||
struct ansi { /* should create a constructor which fills them with the appriorate values */
|
||||
struct ansi { /* should create a constructor, which would fill them with the appropriate values */
|
||||
bool esc;
|
||||
bool sci;
|
||||
bool enabled;
|
||||
|
@ -128,7 +128,7 @@ bool device_CON::Write(Bit8u * data,Bit16u * size) {
|
|||
count++;
|
||||
continue;
|
||||
} else {
|
||||
/* Some sort of "hack" now that \n doesn't set col to 0 (int10_char.cpp old chessgame) */
|
||||
/* Some sort of "hack" now that '\n' doesn't set col to 0 (int10_char.cpp old chessgame) */
|
||||
if((data[count] == '\n') && (lastwrite != '\r')) INT10_TeletypeOutputAttr('\r',ansi.attr,ansi.enabled);
|
||||
/* pass attribute only if ansi is enabled */
|
||||
INT10_TeletypeOutputAttr(data[count],ansi.attr,ansi.enabled);
|
||||
|
|
|
@ -299,7 +299,7 @@ bool DOS_Rename(char const * const oldname,char const * const newname) {
|
|||
}
|
||||
|
||||
if (Drives[drivenew]->Rename(fullold,fullnew)) return true;
|
||||
/* If it still fails. which error should we give ? PATH NOT FOUND or EACCESS */
|
||||
/* If it still fails, which error should we give ? PATH NOT FOUND or EACCESS */
|
||||
LOG(LOG_FILES,LOG_NORMAL)("Rename fails for %s to %s, no proper errorcode returned.",oldname,newname);
|
||||
DOS_SetError(DOSERR_FILE_NOT_FOUND);
|
||||
return false;
|
||||
|
|
|
@ -101,7 +101,7 @@ bool Virtual_File::Read(Bit8u * data,Bit16u * size) {
|
|||
}
|
||||
|
||||
bool Virtual_File::Write(Bit8u * data,Bit16u * size){
|
||||
/* Not really writeable */
|
||||
/* Not really writable */
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue