X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c8f2ee90aba3d5db2cbf170b3c2f7e4ea1d84aeb..2b1cd09eae8aa7516f8d47a6ee80e92cba714224:/uip/dist.c?ds=inline diff --git a/uip/dist.c b/uip/dist.c index 807eb78b..20ae318f 100644 --- a/uip/dist.c +++ b/uip/dist.c @@ -303,7 +303,7 @@ try_it_again: msgnam = file ? file : getcpy (m_name (mp->lowsel)); - dat[0] = mp->lowsel; + dat[0] = mp ? mp->lowsel : 0; dat[1] = 0; dat[2] = 0; dat[3] = outputlinelen;