take back too eager change

This commit is contained in:
Axel Kohlmeyer
2020-09-13 17:20:29 -04:00
parent 2438f38afc
commit cc86214fe2
2 changed files with 2 additions and 2 deletions

View File

@ -3840,7 +3840,7 @@ Please see :cpp:func:`lammps_has_style` for a list of valid categories.
* \return 1 if successful, otherwise 0
*/
int lammps_style_name(void *handle, const char *category, int idx,
const char *buffer, int buf_size) {
char *buffer, int buf_size) {
LAMMPS *lmp = (LAMMPS *) handle;
Info info(lmp);
auto styles = info.get_available_styles(category);