From 8ebf5ac605d57eab80b600a7827d2ba48668d887 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Tue, 26 May 2015 01:36:20 +0200 Subject: Windows: first implementation of dynamic mode --- src/Boot/Windows/BootConsoleIo.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Boot/Windows/BootConsoleIo.cpp') diff --git a/src/Boot/Windows/BootConsoleIo.cpp b/src/Boot/Windows/BootConsoleIo.cpp index 6558018f..40f46a10 100644 --- a/src/Boot/Windows/BootConsoleIo.cpp +++ b/src/Boot/Windows/BootConsoleIo.cpp @@ -305,6 +305,11 @@ bool IsPrintable (char c) return c >= ' ' && c <= '~'; } +bool IsDigit (char c) +{ + return c >= '0' && c <= '9'; +} + int GetString (char *buffer, size_t bufferSize) { -- cgit v1.2.3