- Timestamp:
- May 18, 2007, 7:24:04 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/kapa-mods-2007-05/Ohana/src/opihi/lib.data/open_kapa.c
r13394 r13432 180 180 } 181 181 182 if (data != NULL) *data = graphdata;182 if (data != NULL) KapaGetGraphStyle (Socket[Active], data); 183 183 if (fd != NULL) *fd = Socket[Active]; 184 184 … … 206 206 207 207 if (fd != NULL) *fd = Socket[entry]; 208 if (data != NULL) *data = graphdata;208 if (data != NULL) KapaGetGraphStyle (Socket[entry], data); 209 209 return (TRUE); 210 210 } 211 211 212 212 /* assign given values to current Xgraph */ 213 void SetGraph (Graphdata data) { 214 graphdata = data; 213 void SetGraph (Graphdata *data) { 214 if (Active < 0) { 215 gprint (GP_ERR, "no active kapa window\n"); 216 return (FALSE); 217 } 218 if (Socket[Active] == -1) { 219 gprint (GP_ERR, "no active kapa window\n"); 220 return (FALSE); 221 } 222 KapaSetGraphStyle (Socket[Active], data); 215 223 } 216 224
Note:
See TracChangeset
for help on using the changeset viewer.
