Clean up program name handling in oenv
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / x2top.c
index 06962af891003bd66996c59532080a4e3ec0bba5..bbbe2aa6cbf07cfd95cd401804b4648d23579e24 100644 (file)
@@ -636,7 +636,7 @@ int gmx_x2top(int argc, char *argv[])
     sfree(mymol.name);
 
     printf("\nWARNING: topologies generated by %s can not be trusted at face value.\n",
-           ShortProgram());
+           output_env_get_program_display_name(oenv));
     printf("         Please verify atomtypes and charges by comparison to other\n");
     printf("         topologies.\n");