Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
764630cf
Commit
764630cf
authored
Feb 24, 2022
by
Rob Swindell
💬
Browse files
Save/restore the current selected user
Addresses issue
#350
. Also fixed up the alignment of the header/columns.
parent
b1bb5630
Pipeline
#2775
passed with stage
in 9 minutes and 21 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/sbbs3/uedit/uedit.c
src/sbbs3/uedit/uedit.c
+4
-2
No files found.
src/sbbs3/uedit/uedit.c
View file @
764630cf
...
...
@@ -2097,6 +2097,8 @@ int main(int argc, char** argv) {
finduser
(
&
cfg
,
&
user
);
}
if
(
j
==
2
)
{
int
curuser
=
0
;
int
curbar
=
0
;
/* List All Users */
done
=
0
;
while
(
!
done
)
{
...
...
@@ -2108,12 +2110,12 @@ int main(int argc, char** argv) {
}
opt
[
i
-
1
][
0
]
=
0
;
i
=
0
;
switch
(
uifc
.
list
(
WIN_ORG
|
WIN_MID
|
WIN_ACT
,
0
,
0
,
0
,
&
i
,
0
,
"DI Real Name Alias "
,
opt
))
{
switch
(
uifc
.
list
(
WIN_ORG
|
WIN_MID
|
WIN_ACT
,
0
,
0
,
0
,
&
curuser
,
&
curbar
,
"DI Real Name Alias "
,
opt
))
{
case
-
1
:
done
=
1
;
break
;
default:
edit_user
(
&
cfg
,
i
+
1
);
edit_user
(
&
cfg
,
curuser
+
1
);
break
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment