mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
DPSsetdash::: now accepts an empty dash pattern, signaling a reset
to a solid line. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14697 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8ce5bbbfbc
commit
2ba8067755
1 changed files with 7 additions and 0 deletions
|
@ -1423,6 +1423,13 @@ typedef enum {
|
|||
char dash_list[size];
|
||||
int i;
|
||||
|
||||
if ((pat == NULL) || (size == 0))
|
||||
{
|
||||
gcv.line_style = LineSolid;
|
||||
[self setGCValues: gcv withMask: GCLineStyle];
|
||||
return;
|
||||
}
|
||||
|
||||
gcv.line_style = LineOnOffDash;
|
||||
[self setGCValues: gcv withMask: GCLineStyle];
|
||||
|
||||
|
|
Loading…
Reference in a new issue