Commit 52cdbc52 authored by claes's avatar claes

Restore of paremters with array index didn't work

parent 36713be0
/*
* Proview $Id: xtt_logging.cpp,v 1.7 2007-04-25 13:39:21 claes Exp $
* Proview $Id: xtt_logging.cpp,v 1.8 2007-07-05 07:24:50 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -1375,6 +1375,7 @@ int XttLogging::get_parinfo(
pwr_tClassId classid;
pwr_tAName objname;
pwr_tObjName classname;
char *s;
/* Get object name */
/* Parse the parameter name into a object and a parameter name */
......@@ -1421,6 +1422,9 @@ int XttLogging::get_parinfo(
}
}
if ( (s = strrchr( parname, '[')))
*s = 0;
strcat( hiername, "-");
strcat( hiername, parname);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment