Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
9cd6ecef
Commit
9cd6ecef
authored
Apr 07, 2003
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Max number of filevew files increased
parent
4709dc30
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/lib/co/src/co_wow.c
src/lib/co/src/co_wow.c
+5
-1
No files found.
src/lib/co/src/co_wow.c
View file @
9cd6ecef
...
...
@@ -26,6 +26,8 @@
#include "co_dcli.h"
#include "co_wow.h"
#define WOW_MAXNAMES 400
typedef
struct
{
void
*
ctx
;
...
...
@@ -494,7 +496,7 @@ void wow_file_cancel_cb( Widget widget, XtPointer udata, XtPointer data)
void
wow_file_search_cb
(
Widget
widget
,
XtPointer
data
)
{
XmFileSelectionBoxCallbackStruct
*
cbs
=
(
XmFileSelectionBoxCallbackStruct
*
)
data
;
XmString
names
[
256
];
XmString
names
[
WOW_MAXNAMES
];
char
*
mask
;
char
found_file
[
200
];
int
sts
;
...
...
@@ -507,6 +509,8 @@ void wow_file_search_cb( Widget widget, XtPointer data)
file_cnt
=
0
;
sts
=
dcli_search_file
(
mask
,
found_file
,
DCLI_DIR_SEARCH_INIT
);
while
(
ODD
(
sts
))
{
if
(
file_cnt
>=
WOW_MAXNAMES
)
break
;
names
[
file_cnt
++
]
=
XmStringCreateLocalized
(
found_file
);
sts
=
dcli_search_file
(
mask
,
found_file
,
DCLI_DIR_SEARCH_NEXT
);
}
...
...
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