Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Few code optimization. #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 15, 2018

  1. Few code optimization.

    - Changed 's_DialogOpened' array's datatype to bool.
    - Replaced 'strlen' on Dialog_Open and under dialog response with faster alternative.
    - Added a macro EASYDIALOG_SANITIZE_INPUT to choose whether to have include's inbuilt inputtext sanitizer. By default, it takes into account that inputtext must be sanitized. But if you define EASYDIALOG_SANITIZE_INPUT to 0 before including easyDialog, it won't perform sanitization. This can be useful in case if the coder wants to explicitly check for '%' symbol.
    - Removed additional strcat under OnDialogResponse with static string initialization.
    AkshayMohan authored May 15, 2018
    Configuration menu
    Copy the full SHA
    0fc4a67 View commit details
    Browse the repository at this point in the history