[NOTEPAD] Let the user know when an opened file is modified. By Lee Schroeder. CORE...
[reactos.git] / reactos / base / applications / notepad / main.c
index 1f9de21..c9a145f 100644 (file)
@@ -324,6 +324,11 @@ LRESULT CALLBACK EDIT_WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
                 case VK_RIGHT:
                     DIALOG_StatusBarUpdateCaretPos();
                     break;
+                default:
+                {
+                    UpdateWindowCaption(FALSE);
+                    break;
+                }
             }
         }
         case WM_LBUTTONUP: