Skip to content
  • Brad King's avatar
    cmCursesLongMessageForm: Avoid -Wstringop-overflow warning · b6d116e2
    Brad King authored
    We use `strncpy` to copy the title up to a maximum number of
    characters.  GCC 8's `-Wstringop-overflow` warns that the length
    depends on the input length because it fails to recognize that we
    are bounding it to the buffer size too.  Update the code to hide
    the dependence on the input length.
    b6d116e2