Skip to content

Commit

Permalink
Increase buffer size for generic popup message
Browse files Browse the repository at this point in the history
The message can contain a filename, so it should be large enough to contain that and the message itself.
  • Loading branch information
Robyt3 committed Jul 4, 2023
1 parent 3f50729 commit 89a5281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/client/components/menus.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ class CMenus : public CComponent
NUM_BUTTONS
};
char m_aPopupTitle[128];
char m_aPopupMessage[256];
char m_aPopupMessage[IO_MAX_PATH_LENGTH + 256];
struct
{
char m_aLabel[64];
Expand Down

0 comments on commit 89a5281

Please sign in to comment.