VirtualBox

Changeset 30605 in vbox


Ignore:
Timestamp:
Jul 5, 2010 12:18:44 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
63331
Message:

DevVGA: Do not attempt to dump non-printable characters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r30524 r30605  
    128128#ifdef IN_RING3
    129129#include <iprt/alloc.h>
     130#include <iprt/ctype.h>
    130131#endif /* IN_RING3 */
    131132#include <iprt/assert.h>
     
    46284629            for (col = 0; col < num_cols; ++col)
    46294630            {
    4630                 pHlp->pfnPrintf(pHlp, "%c", *src);
     4631                if (RT_C_IS_PRINT(*src))
     4632                    pHlp->pfnPrintf(pHlp, "%c", *src);
     4633                else
     4634                    pHlp->pfnPrintf(pHlp, ".");
    46314635                src += 8;   /* chars are spaced 8 bytes apart */
    46324636            }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette