X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fdist.c;h=20ae318f58afb1df4f119265485b8dea29a9c44c;hb=15e319de7289e1bdd130f31db6ee6409bc0096e4;hp=807eb78bbf4afe2fe27612b5ef24ace2275cbd4f;hpb=c8f2ee90aba3d5db2cbf170b3c2f7e4ea1d84aeb;p=mmh diff --git a/uip/dist.c b/uip/dist.c index 807eb78..20ae318 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;