From 83e093f5cc811ad518db9bed2869e307d47ea91b Mon Sep 17 00:00:00 2001
From: Scott Lahteine <github@thinkyhead.com>
Date: Tue, 20 Feb 2018 05:43:18 -0600
Subject: [PATCH] Fix MALYAN_LCD message bug

Fix #9711
Based on #9731
---
 Marlin/malyanlcd.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Marlin/malyanlcd.cpp b/Marlin/malyanlcd.cpp
index 4149fcfcd64..69ccd3c1f01 100644
--- a/Marlin/malyanlcd.cpp
+++ b/Marlin/malyanlcd.cpp
@@ -63,7 +63,7 @@
 
 // This is based on longest sys command + a filename, plus some buffer
 // in case we encounter some data we don't recognize
-// There is no evidence a line will ever be this long, but better safe than sory
+// There is no evidence a line will ever be this long, but better safe than sorry
 #define MAX_CURLY_COMMAND (32 + LONG_FILENAME_LENGTH) * 2
 
 // Track incoming command bytes from the LCD
@@ -75,7 +75,7 @@ void write_to_lcd_P(const char * const message) {
   uint8_t message_length = min(strlen_P(message), sizeof(encoded_message));
 
   for (uint8_t i = 0; i < message_length; i++)
-    encoded_message[i] = pgm_read_byte(message[i]) | 0x80;
+    encoded_message[i] = pgm_read_byte(&message[i]) | 0x80;
 
   LCD_SERIAL.Print::write(encoded_message, message_length);
 }
@@ -428,7 +428,7 @@ void lcd_init() {
   write_to_lcd_P(PSTR("{SYS:STARTED}\r\n"));
 
   // send a version that says "unsupported"
-  write_to_lcd_P(PSTR("{VER:66}\r\n"));
+  write_to_lcd_P(PSTR("{VER:99}\r\n"));
 
   // No idea why it does this twice.
   write_to_lcd_P(PSTR("{SYS:STARTED}\r\n"));